摘要: 一、Time模块 (1)time.time()输出当前时间戳 (2)获取当前时间,时间元组的形式localtime() (3)最简单的获取可读的时间形式asctime(): (4)格式化日期 输出结果 小结: time模块中时间表现的格式主要有3种: 1. timestamp 时间戳 2. tupl 阅读全文
posted @ 2018-08-13 23:59 weiququ 阅读(9799) 评论(0) 推荐(1) 编辑