There is a difference between the above code and your prior code, namely
in that you have explicitly instantiated Tk and put your canvas into the
root toplevel. Try this in idle where it was failing:
snip
Problem solved...I tried James' suggestion (explicitly instantiating
the root Tk
Hello,
I'm a newbie to Python (literally, within the last two weeks), and I am
playing around with Tkinter to build some simple GUIs. I am attempting
to build a simple class that displays a GIF. Here is the code:
#start of code
from Tkinter import *
class DisplayPict(Frame):
def
I'm inclined to think that its your python installation. It worked for
me with both the cygwin python (both in the console and in an xterm) and
it also worked for me with idle using enthought python. I haven't tried
the active state python.
Thanks for giving it a shot. I just checked the