Asking for Help/How do I get or set the modification date of a file?

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

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

use the os{.backtick} module.

Specifically, see os.stat{.backtick} and os.utime{.backtick} documented at http://www.python.org/doc/2.4.2/lib/os-file-dir.htmlZacharyHamm


CategoryAskingForHelp CategoryAskingForHelpAnswered