摘要:
# str转datetime datetime.strptime('2023-06-29 15:54:44', '%Y-%m-%d %H:%M:%S') # datetime转str datetime.now().strftime('%Y-%m-%d %H:%M:%S') # 时间差 (now_da 阅读全文
posted @ 2023-06-30 13:42
你说夕阳很美
阅读(25)
评论(0)
推荐(0)
摘要:
# 匹配 import re res = '你的上次登录时间是 2023-06-29 15:54:44' match_obj = re.match(r'你的上次登录时间是 (.*)', res, re.M | re.I) print(match_obj.group(1)) 阅读全文
posted @ 2023-06-30 13:35
你说夕阳很美
阅读(22)
评论(1)
推荐(0)
摘要:
C:\Users\daizichuan>python -m sysconfig Platform: "win-amd64" Python version: "3.10" Current installation scheme: "nt" Paths: data = "D:\miniconda3" i 阅读全文
posted @ 2023-06-30 11:59
你说夕阳很美
阅读(79)
评论(0)
推荐(0)

浙公网安备 33010602011771号