Dec-11-2016, 05:35 PM
i actually use the class name as the module name too. However the standard name convention dictates that the class name would be capitalized and the module name not.
PEP 8
https://www.python.org/dev/peps/pep-0008/#class-names
obj = test.Test()You know right from the bat, that test is the module, and Test is the class just be naming convention.
PEP 8
https://www.python.org/dev/peps/pep-0008/#class-names
Recommended Tutorials: