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