There are 4 types of casing in Python:
snake_case
: All lowercase letters and words are separated by underscores. This is used forvariable
names,function
names,module
names, etc.PascalCase
: All words are capitalized and there are no separators. This is used forclass
names.camelCase
: All words are capitalized except the first one and there are no separators. This is also used forclass
names, but it is less common thanPascalCase
.UPPER_CASE
: All letters are capitalized and words are separated by underscores. This is used forconstants
.