ID EN
OS

utime

Python 3.11

Set the access and modified times of the file specified by path.

Syntax

PYTHON
os.utime(path, times=None, *, [ns, ]dir_fd=None, follow_symlinks=True)

See Also

utime() stat() stat() os.stat() utime() specifying a file descriptor paths relative to directory descriptors not following symlinks