Answers for "how to loop through glob.iglob iterator"

0

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
Posted by: Guest on October-23-2020

Code answers related to "how to loop through glob.iglob iterator"

Python Answers by Framework

Browse Popular Code Answers by Language