GUI Program Error

Byte eoinrogers at gmail.com
Mon Jun 5 21:39:56 CEST 2006


Hi, I'm using the "Learning to Program" GUI tutorial on
http://www.freenetpages.co.uk/hp/alan.gauld/
and am trying to write my first GUI. However, the code the tutorial
gives for starting by making a window:


import Tkinter

top = Tkinter.Tk()

dir(top)

Does not work. The Python interpreter does not complain about anything,
but the window the tutorial promises will apperar will not. I'm using
Python 2.4.2 and the Eric 3.7.0 IDE on Ubuntu 5.10. Anybody know what
to do?

 -- /usr/bin/byte




More information about the Python-list mailing list