My question is, is there a normal convention to have a file that contains a class also camelCase'd, especially if the file only contains a class
Short answer: None.
Longer answer: there should be all lower case and underscores as needed.
From PEP8 "Package and Module Names" :
Modules must have short, all lowercase names. Underscores can be used in a module name if it improves readability. Python packages should also have short uppercase names, although using underscores is not recommended.
If you do not know what module is :
A module is a file containing Python definitions and instructions. file name is the name of the module with the suffix .py added.
source share