[Tutor] Python 2.4 IDLE Windows 2000

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Wed Dec 1 22:51:42 CET 2004



> Also, If you can start up the console version of Python, try executing the
> following:
>
> ###
> >>> import Tkinter
> >>> root = Tkinter.root()
> ###

Doh.  Sorry, I should have tested that.  The commands should actually be:

###
>>> import Tkinter
>>> root = Tkinter.Tk()
###

You should see a small, blank window pop up if Tkinter is working
properly.




More information about the Tutor mailing list