打印当前时间

import time
t = time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time()))

  

posted @ 2019-05-27 20:37  乔儿  阅读(129)  评论(0编辑  收藏  举报