0
点赞
收藏
分享

微信扫一扫

python获取时间

datetime

import datetime

print(datetime.datetime.now().strftime("%Y-%m-%d-%H-%M-%S"))


举报

相关推荐

0 条评论