Base class and Derived class question

alex23 wuwei23 at
Wed Nov 7 03:10:28 CET 2012

On Nov 7, 1:08 am, cyberira... at wrote:
> Just got answer, I didn't call a class it's self.  Correct code is:
> class derivedClass(baseClassMod.baseClass):
>     def ......

Incidentally, this is why it's recommended to give modules lowercase
names - baseclass - and classes camelcased ones - BaseClass. It makes
it more obvious to what you're holding a reference.

More information about the Python-list mailing list