摘要: time.strftime("%Y%m%d%H%M%S", time.localtime(time.time())) today = datetime.now().strftime('%Y-%m-%d %H:%M:%S') def yield_day(start_day, stop_time=Non 阅读全文
posted @ 2022-06-15 10:30 CeasonCing 阅读(124) 评论(0) 推荐(0) 编辑
摘要: from pathlib import Path print(__file__) print(Path(__file__)) print(Path(__file__).resolve()) print(Path(__file__).resolve().parent.parent) sys.path. 阅读全文
posted @ 2022-06-15 10:03 CeasonCing 阅读(16) 评论(0) 推荐(0) 编辑