[Tutor] Learning Tkinter

Gregor Lingl glingl@aon.at
Wed Feb 19 02:57:02 2003


Terry Carroll schrieb:

>I'm just starting to play with Tkinter, and it's (as expected), a bit 
>alien to me.  Any tips on how to learn it?
>
>It strikes me that Tkinter is probably pretty easy and intuitive to 
>someone who already knows Tcl/Tk, but I don't.  I don't really want to 
>learn Tcl.  
>
>I've found what appears to be the only book dedicated to Tk under Python 
>(John Grayson's "Python & Tkinter Programming"), and that looks like 
>overkill for me.  I just want to add some straightforward GUI stuff[1] to 
>an existing program to make it more usable.
>
>Ideas?
>
Try "Thinking in Tkinter", which you can find here:
http://home.att.net/~stephen_ferg/thinking_in_tkinter/index.html

Bryce Embry has also six nice introduvtory lessons on Tkinter:

http://bembry.org/tech/python/index.php

Both ressources can be downloaded as a single file

HTH, Gregor

>
>Fred Lundh's "An Introduction To Tkinter"[2] looks good, and I'd buy it in
>a heartbeat if it were a published book.
>
>Anyone have any opinions on Wesley Chun's "Core Python Programming"?  It 
>has a chapter on "GUI Programing with Tkinter," but only about 20 pages.
>
>
>
>[1] Well, not too straightfoward; it will involve output of Chinese 
>characters in Unicode and input in Unicode, GB and Big5 encodings.  
>Currently I'm doing the "I/O" by altering the Python source and 
>hard-coding hex strings.
>
>[2] http://www.pythonware.com/library/index.htm
>
>  
>