摘要: from datetime import datetime # 获取当前时间 now = datetime.now() # 获取年、月、日、时、分、秒和毫秒 year = now.year month = now.month day = now.day hour = now.hour minute 阅读全文
posted @ 2023-09-29 20:17 西北逍遥 阅读(901) 评论(0) 推荐(0) 编辑