os.path.setmtime ?
Richard Wesley
hawkfish at trustedmedianetworks.com
Mon Oct 13 14:13:01 EDT 2003
More information about the Python-list mailing list
Mon Oct 13 14:13:01 EDT 2003
- Previous message (by thread): How to read this news group in OutLook?
- Next message (by thread): os.path.setmtime ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am trying to set the mod date on a file (Linux) as part of a unit test run. I can just wait one second, but that slows the test down. A better solution would be to tweak the mod date on a file, but os.path does not seem to have setmtime. Is there any simple way to do this? TIA, -- - rmgw <http://www.electricfish.com/> ---------------------------------------------------------------------------- Richard Wesley Electric Fish, Inc. "Violence is the last refuge of the incompetent." - Isaac Azimov, _Foundation_
- Previous message (by thread): How to read this news group in OutLook?
- Next message (by thread): os.path.setmtime ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list