摘要: 1.time模块 import time #时间戳形式 print(time.time()) #格式化时间(自己定义格式) print(time.strftime('%Y|%m|%d %X')) print(time.strftime('%Y-%m-%d %H:%M:%S')) #结构化时间 pri 阅读全文
posted @ 2019-06-10 17:03 海森t 阅读(52) 评论(0) 推荐(0)