unable to import os

Fredrik Lundh fredrik at pythonware.com
Mon Oct 10 14:06:51 EDT 2005


Kim Nguyen wrote:

> 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

oh, sorry, that was an example that accidentally slipped through.  I somehow
expected you to realize that if you wanted to stat some other file, you would
pass in another filename.

</F>






More information about the Python-list mailing list