August 2018
Intermediate to advanced
366 pages
10h 14m
English
The steps for this recipe are as follows:
import os
def traverse(path):
for basepath, directories, files in os.walk(path):
for f in files:
yield os.path.join(basepath, f)
for f in traverse('.'):
print(f)