1. 程式人生 > >【代碼塊】

【代碼塊】

nbsp span div list index 批量 code 創建文件夾 exist

//批量創建文件夾
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)

【代碼塊】