import time, os
create_time = time.ctime(os.path.getctime(filename))
modify_time = time.ctime(os.path.getmtime(filename))

 

相关文章: