获取问价你的创建时间 import os os.path.getctime(file_path)
import os
os.path.getctime(file_path)
获取文件的修改时间 os.path.getmtime(file_path)
os.path.getmtime(file_path)
注: 获取的是 时间戳