摘要: 一、time 1、获取当前时间和时区 >>> now = time.time() # 当前时间 float类型 >>> time.strftime("%Y-%m-%d %H:%M:%S") #当前时间 str '2016-11-04 15:29:58' >>> time.ctime() # 当前时间 阅读全文
posted @ 2020-09-29 20:48 python学习者0 阅读(699) 评论(0) 推荐(0) 编辑