[Tutor] Placing entire Application inside a class

Jim Morcombe jmorcombe at westnet.com.au
Wed Dec 19 02:54:56 CET 2007


I have just read through "Creating a GUI in Python - by Dakota Lemaster"

In it, Dakota recomends placing the entire application within a class.

Why is this so?  Surely in many cases you end up with a constructor for the class that is cumbersome and complex?

Is this a recomended Python programming technique?

http://student-iat.ubalt.edu/sde/students/lemaster/COSC330/Final/sec4_AppClass.html


Why is this so?  Surely in many cases you end up with a constructor for the class that is cumbersome and complex?

Is this a recomended Python programming technique?

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071219/8e7d0fbc/attachment.htm 


More information about the Tutor mailing list