|
|
|
|
 Q:请问如何获得一个文件的修改时间 - jhuangjiahua [ 2005-08-29 23:16 | 76 byte(s)]
 Re: Q:请问如何获得一个文件的修改时间 - alula [ 2005-08-30 17:29 | 222 byte(s)]
 Re: Q:请问如何获得一个文件的修改时间 - jhuangjiahua [ 2005-08-31 00:13 | 137 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
>>> help(os.path.getmtime)
Help on function getmtime in module posixpath:
getmtime(filename)
Return the last modification time of a file, reported by os.stat().
|
|
|
----
温故知新
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
非常感谢~~
In [3]: os.path.ge
os.path.getatime os.path.getctime os.path.getmtime os.path.getsize
|
|
|
[Original]
[Print]
[Top]
|
|
|