Fay

2018年6月23日

time模块

摘要: import time#三种表示时间的方式# 1,时间戳 time.time() 计算机能够识别的时间# print(time.time()) #返回 1527695364.71959,从1970年开始到现在的时间,# 2,格式化的字符串 time.strftime('%Y-%m-%d') Y:年 阅读全文

posted @ 2018-06-23 17:06 sunny7 阅读(150) 评论(0) 推荐(0) 编辑

导航