📅  最后修改于: 2022-03-11 14:47:06.603000             🧑  作者: Mango
import glob
globIterator = glob.iglob(path, recursive=True)
run = True
while(run == True):
try:
print(next(globIterator))
except:
run = False