Python获取并输出当前日期时间 Python获取并输出当前日期时间 学习了:https://www.cnblogs.com/kerwinC/p/5760811.html time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time()))