walking along and processing files in directory in python
问题 I have huge data in a directory tree format like: c:/user/name/class/std/section I to VI [all section has individual folder i.e. 6 folder in total and all folder have 100+ files to be processed] I wrote a script in which if I give the folder containing the files e.g. Section I then it would process files inside using glob.iglob function. Is it possible to write a script which can walk along directories by just entering one directory > processing file > leaving directory > entering different