摘要: 获取日期,时间 使用 datetime 模块 格式化使用 strftime("%Y-%m-%d") strftime("%H:%M:%S") #!/usr/bin/python # -*-coding:utf-8-*- import datetime # 获取当前时间, 其中中包含了year, mo 阅读全文
posted @ 2023-06-02 07:57 He_LiangLiang 阅读(61) 评论(0) 推荐(0) 编辑