会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
acgame
博客园
首页
新随笔
联系
管理
订阅
2018年2月8日
python-time,datetime
摘要: 1.time模块:time.time() # 返回当前时间的时间戳(1970纪元后经过的浮点秒数)time.localtime([ sec ]) # 接收时间戳(默认为当前时间),返回struct_time对象time.strftime(format[, t]) # 接收时间元组(默认为当前时间),
阅读全文
posted @ 2018-02-08 23:34 acgame
阅读(165)
评论(0)
推荐(0)
编辑
公告