import os, sysdef genDir(): base = ‘E:/py doc/data/‘ i = 0 name=[‘ZERO‘,‘ONE‘,‘TWO‘,‘THREE‘,‘FOUR‘,‘FIVE‘,‘SIX‘,‘SEVEN‘,‘EIGHT‘,‘NINE‘] for j in range(10): file_name = base+name[i] os.mkdir(file_name) i=i+1genDir()
原文地址:https://www.cnblogs.com/clayyjh/p/12630074.html
时间: 2024-10-14 15:16:09