【时间操作】


综述

  • 输出系统的当前时间

输出系统的当前时间

1 # 输出系统的当前时间
2 from datetime import datetime
3 print('本次运行是几点 : ', datetime.now())
4 print("hello world")