os.utime

monkeys paw monkey at joemoney.net
Sun Mar 20 19:52:02 EDT 2011


I used os.uname to succesfully change the access and mod times of
a file. My question is, is there any other date store for a file that
indicates the creation time, or is it impossible to detect that a file
with an older mod/access time is actually a 'new' file?

os.utime('sum.py', (time.time(),time.time())



More information about the Python-list mailing list