| Tkinter for beginners |
UserPreferences |
| Tkinter Wiki | FrontPage | RecentChanges | TitleIndex | WordIndex | SiteNavigation | HelpContents | moin.sf.net |
[How to write and run the simplest possible Tkinter program. ]
Stephen Ferg has written a good introduction called
"Thinking in Tkinter" that looks at Tkinter from the point of view of common conceptual difficulties that the beginner faces. --SAM
If you are using an earlier version of Python that includes IDLE 0.8, you cannot use the root.mainloop() command in a program being run in IDLE. If you do, it will hang, because IDLE used the same Python interpreter process (and therefore the same Tkinter event loop) as the program being tested. You can test your program in IDLE 0.8 by commenting out the ".mainloop()" call, but then you need to be sure to un-comment it before using the program elsewhere.
[Where to find help.]