mighter
0
Q:

how to loop through glob.iglob iterator

import glob

globIterator = glob.iglob(path, recursive=True)

run = True
while(run == True):
    try:
        print(next(globIterator))
    except:
        run = False
0

Tags

New to Communities?

Join the community