#获取当前时间串 好用的方法 import datetime def nowtime(): return datetime.datetime.now().strftime('%Y%m%d%H%M%S') 相关文章: