Name
utime
Synopsis
utime(path
,times
=None)
Sets the accessed and modified times of file or directory
path
. If times
is None
, utime
uses the current
time. Otherwise, times
must be a pair of
numbers (in seconds since the epoch, as covered in Chapter 12) in the order
(
accessed
,
modified
)
.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.