Fredrik Lundh,
I replaced  mtime = os.stat(Path + file_name)[os.path.stat.ST_MTIME]
 with  mtime = nt.stat("q.py") per your suggested, then ran it from IDLE 2.4.2. 
Here is the message I got,

Traceback (most recent call last):

  File "C:\Documents and Settings\nguyeki\Desktop\Oct7", line 37, in -toplevel-

    main()

  File "C:\Documents and Settings\nguyeki\Desktop\Oct7", line 17, in main

    mtime = nt.stat("q.py")

OSError: [Errno 2] No such file or directory: 'q.py'

 

I did the search and could not find the file "q.py".

 

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to