I'm beginner for the GUI programing using Tkinter, so who can tell me some useful sample codes which contains some useful codes.
You have the source for idle.  That shows useful tkinter code.
How can I begin with Tkinter?