tkinter how to write

James Stroud jstroud at mbi.ucla.edu
Thu Mar 8 15:23:40 EST 2007


Gigs_ wrote:
> as I write my first gui program (text editor) I wanna ask you guys how 
> to separate code in classes.?
> Should I put in one class my menu and in another class text and 
> scorllbars etc?
> 
> or something else?
> 
> 
> thanks

Check out Grayson: http://www.manning.com/grayson/

Its $25 for the pdf and is worth about 20 or 30 times that in the effort 
it will take you if you attempt to re-invent the wheel.

For an example of a Tkinter code disaster from not having a good 
reference, glimpse at the source of <http://passerby.sf.net>.

How I wish I'd just read the damn book first!

James



More information about the Python-list mailing list