Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2008-11-15 14:00:28
Size: 149
Editor: localhost
Comment: converted to 1.6 markup
Revision 5 as of 2011-03-26 23:34:24
Size: 268
Editor: PaulBoddie
Comment: Added categories. Tidied formatting and added title.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
use the 'os' module. = How do I get or set the modification date of a file? =
Line 3: Line 3:
Specifically, see os.stat() and os.utime() documented at http://www.python.org/doc/2.4.2/lib/os-file-dir.html --ZacharyHamm use the `os` module.

Specifically, see `os.stat` and `os.utime` documented at http://www.python.org/doc/2.4.2/lib/os-file-dir.html --ZacharyHamm
----
CategoryAskingForHelp CategoryAskingForHelpAnswered

How do I get or set the modification date of a file?

use the os module.

Specifically, see os.stat and os.utime documented at http://www.python.org/doc/2.4.2/lib/os-file-dir.html --ZacharyHamm


CategoryAskingForHelp CategoryAskingForHelpAnswered

Asking for Help/How do I get or set the modification date of a file? (last edited 2011-03-26 23:34:24 by PaulBoddie)

Unable to edit the page? See the FrontPage for instructions.