一般使用的时间格式

from datetime import datetime

datetime.now().strftime('%Y-%m-%d %H:%M:%S')

posted @ 2019-09-27 16:40  拷贝达人  阅读(161)  评论(0编辑  收藏  举报