【代码块】

//批量创建文件夹
def
自动创建文件夹(self): path_list = [ 'date', 'andy', 'index', 'other'] for i in path_list: path_T = self.path + '/' + i if not os.path.exists(path_T): os.makedirs(path_T)

 

posted @ 2018-09-09 12:10  飞鹰学习  阅读(138)  评论(0编辑  收藏  举报