python常见模块之time,datetime模块
摘要:一、time模块 time模块提供了一些用于管理时间和日期。 time模块中时间的表现形式有三种: format_string 格式化的字符串 struct_time 结构化时间 timestamp 时间戳 并且通过time模块提供的内置方法,可以将三者相互转换。 关系图 示例代码: 运行结果: 二
阅读全文
posted @ 2017-04-22 23:55
posted @ 2017-04-22 23:55
posted @ 2017-04-04 23:16
posted @ 2017-04-04 12:59