摘要: 1.Python文件自动化管理 shutil文件操作模块;glob文件与文件夹获取模块 1.1.文件操作利器-shutil 1.1.1.文件的复制 1 # coding:utf-8 2 import os 3 from shutil import copy 4 5 #相对路径 6 copy('tes 阅读全文
posted @ 2022-04-21 14:56 葛老头 阅读(143) 评论(0) 推荐(0) 编辑
摘要: common/consts.py 1 # coding:utf-8 2 3 ROLES=['admin','normal'] 4 FIRSTLEVEL=['level1','level2','level3','level4'] 5 SECONDLEVEL=['level1','level2','le 阅读全文
posted @ 2022-04-21 14:55 葛老头 阅读(116) 评论(0) 推荐(1) 编辑