[Tutor] 'module' object has no attribute (setting aclass attribute)

Alan Gauld alan.gauld at btinternet.com
Sun Oct 17 02:14:06 CEST 2010

"Tim Johnson" <tim042849 at gmail.com> wrote

>> conventions and named your class with a leading uppercase.  ...
> <blush> I didn't know there was such a convention. 

Its not universally observed but it is common, not just in Python 
but in most OOP languages. It goes back at least as far as 
SmallTalk80, and maybe even to Simula67 the original OOP 
language... (NB In both cases the number refers to the year 
of issue!)

Alan G.

More information about the Tutor mailing list