Rank newbie (hardware guy branching out)

I'm using "Learning Python" by Lutz and Ascher, published by O'Reilly

I've done a basic install of Active Python, without any customization.

The example in the book (pg 22), that does not function is;

>>> from Tkinter import *
>>>w = Button(text="hello", command='exit')
>>>w.pack()
>>>w.mainloop()

I should get a GUI box with a "hello" button, that exits when pressed. What
I get are errors with each statement.  My assumption is that Tkinter isn't
actually used with ActivePython, and there is some special Windows thing
that I'm missing. (Which also makes me wonder if there is some special HOWTO
about moving GUI interfaces between Active Python on Windows, and Python
with X.)

Pointers in the right direction would be appreciated but please understand
I'm not well versed in indirect referencing yet.

Thanks,
Gar Nelson
Seattle






_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to