import time, os create_time = time.ctime(os.path.getctime(filename)) modify_time = time.ctime(os.path.getmtime(filename))
import time, os create_time = time.ctime(os.path.getctime(filename)) modify_time = time.ctime(os.path.getmtime(filename))
转载于:https://www.cnblogs.com/LarryGen/p/5100078.html