【代码块】

//批量创建文件夹
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)

猜你喜欢

转载自www.cnblogs.com/fyandy/p/9613262.html