摘要:
文件目录的基本操作 """ @Time : 2022/4/30 15:23 @Author : Jason Chen @File : demo_dir.py @desc : 操作目录 """ import os import shutil # 文件重命名和文件删除 os.rename("./test 阅读全文
摘要:
#time的基本使用 import time now = time.time() print(int(now)) now_tuple = time.localtime(now) print(now_tuple) time.sleep(1) # 格式化 now_str = time.strftime( 阅读全文