python获取系统时间:

from datetime import datetime

dt=datetime.now()
date=dt.strftime('%Y-%m-%d-%H-%M-%S')
print(date)

 

相关文章:

  • 2022-01-22
  • 2021-11-28
  • 2021-12-10
  • 2022-02-14
  • 2020-11-03
  • 2022-03-02
  • 2021-06-06
  • 2022-01-23
猜你喜欢
  • 2021-11-28
  • 2021-05-27
  • 2022-02-10
相关资源
相似解决方案