2018年1月24日

(summary) Generate folder-subfolders (sys.argv)

摘要: 1. copy_sub_folders.py 2. remove_files_in_subfolder.py 3. combine step1 and step2, copy_subfolder_remove_itsfile.py 4. or generate the sub-folders dir 阅读全文

posted @ 2018-01-24 16:54 cdekelon 阅读(129) 评论(0) 推荐(0) 编辑

Generate folder-subfolders according to olddir

摘要: # https://majing.io/questions/772 阅读全文

posted @ 2018-01-24 16:46 cdekelon 阅读(121) 评论(0) 推荐(0) 编辑

delete the files in subfolders

摘要: http://blog.csdn.net/liuchunming033/article/details/39400931 阅读全文

posted @ 2018-01-24 01:13 cdekelon 阅读(165) 评论(0) 推荐(0) 编辑

shutil.copytree copy all the folders and files

摘要: # http://blog.csdn.net/liuchunming033/article/details/39400931 创建多层新目录: ### 创建多层目录 def mkdirs(path): # 去除首位空格 path=path.strip() # 去除尾部 \ 符号 path=path. 阅读全文

posted @ 2018-01-24 00:13 cdekelon 阅读(385) 评论(0) 推荐(0) 编辑

导航