摘要:
import time import os def mm(): file_name = '1.txt' file_times_modified = time.localtime(os.path.getmtime(file_name)) year_modified = file_times_modified.tm_year month_modif... 阅读全文
posted @ 2018-12-11 15:06
筱筱的春天
阅读(2667)
评论(1)
推荐(0)
摘要:
Return the metadata change time of a file,reported by os.stat() 阅读全文
posted @ 2018-12-11 15:03
筱筱的春天
阅读(2404)
评论(0)
推荐(0)
摘要:
文件路径使用r,/,\\都可以 file_name='C:\\Temp\\t.txt' file_name='C:/Temp/t.txt' 阅读全文
posted @ 2018-12-11 14:46
筱筱的春天
阅读(1620)
评论(0)
推荐(0)

浙公网安备 33010602011771号