[wingide-users] Tkinter

Smith1, Robert E robert.e.smith1 at lmco.com
Mon Sep 24 16:19:16 MDT 2007


I have tried to run a few very small Tkinter sample programs that I
found on the Web from within the Wing IDE. Only one worked:

 

from Tkinter import * ### (1)
 
root = Tk()           ### (2)
root.mainloop()       ### (3)

 

The others die in __getattr__() of  Tkinter.Tk

 

with:
AttributeError: __len__
or
AttributeError: __nonzero__
 
This code does run okay from the DOS prompt.
 
Anyone know what is wrong with running it from inside the Wing IDE?
 
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20070924/0cf2bb1b/attachment.html


More information about the wingide-users mailing list