摘要:
关键是中间不能落下字符 阅读全文
摘要:
一个简单的下载,并指定保存位置的函数。 阅读全文
摘要:
def SixNumber(str_number): str_number=str(str_number) while(len(str_number)<6): str_number='0'+str_number return str_number 输入1,返回000001 输入22,返回000022 阅读全文
摘要:
保持原有目录结构 import os,shutil def all_path(dirname): result = [] for maindir, subdir, file_name_list in os.walk(dirname): for filename in file_name_list: 阅读全文