摘要: time模块常用的方法: 1,time.time() 获取当前时间戳,自1970年1月1日0:00:00起到现在所经过的秒数。 2,time.ctime( ) 当前时间(本地时间)的字符串形式。 3,3、time.localtime( ) 当前时间的struct_time形式(元组) 4,time. 阅读全文
posted @ 2019-08-09 09:42 隐泉 阅读(215) 评论(0) 推荐(0) 编辑