time模块

Posted bafenqingnian

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了time模块相关的知识,希望对你有一定的参考价值。

 

  •  time.localtime()函数: 
time.localtime([ sec ])
sec : 转换为time.struct_time类型的对象的秒数。

技术分享图片

 



以上是关于time模块的主要内容,如果未能解决你的问题,请参考以下文章