> Thanks a lot for your patience.
> I put the gif file to a folder called fig in my desktop.
> dirpath = './fig'
> still got error:
>
> Traceback (most recent call last):
> File "11.py", line 238, in
> img.config(image=gifsdict[imgname])
> NameError: name 'imgname' is not defined
>
You shou
On Nov 15, 2007 2:15 PM, linda. s <[EMAIL PROTECTED]> wrote:
>
> On 11/15/07, Matimus <[EMAIL PROTECTED]> wrote:
> > On Nov 15, 12:45 pm, linda.s <[EMAIL PROTECTED]> wrote:
> > > I run the following code and got the error (I put a .gif file on the
> > > desktop)
> > > Traceback (most recent call l
On Nov 15, 12:45 pm, linda.s <[EMAIL PROTECTED]> wrote:
> I run the following code and got the error (I put a .gif file on the desktop)
> Traceback (most recent call last):
> File "11.py", line 25, in
> for gifname in os.listdir(dirpath):
> OSError: [Errno 2] No such file or directory: '.\\D
I run the following code and got the error (I put a .gif file on the desktop)
Traceback (most recent call last):
File "11.py", line 25, in
for gifname in os.listdir(dirpath):
OSError: [Errno 2] No such file or directory: '.\\Desktop\\'
import os
import Tkinter
root = Tkinter.Tk()
L = Tkint