(name, count)
| 69 | |
| 70 | # 递归 读取文件夹 |
| 71 | def readFolder(name, count): |
| 72 | handlerFolder(name,count) |
| 73 | for fold in listFiles(name): |
| 74 | if fold in ignoreFolder: |
| 75 | continue |
| 76 | if not os.path.isdir(name+'/'+fold): |
| 77 | handlerFile(fold, count, name+'/'+fold) |
| 78 | else: |
| 79 | readFolder(name+'/'+fold, count+1) |
| 80 | |
| 81 | def readAll(): |
| 82 | Folders = os.listdir('./') |
no test coverage detected