> > I'm using "Learning Python" by Lutz and Ascher, published by O'Reilly
> > 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()

> There are two main issues that you will run into using TKinter with
> ActivePython:
[...]
>  2. Tk applications do not work from within the PythonWin environment.
> Make sure to use "Python Shell" instead.

So if I were to code the above example using the native win32 extensions of
ActivePython, in the PythonWin environment, how would it look?  (Just
putting up a box with a "hello" button, that exits when pressed.)

I think if I were to see the differences, I'd have an easier time
fat-fingering through any later examples on my own.

Gar Nelson


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

Reply via email to