1from __future__ import absolute_import, division, print_function 2 3import os 4import sys 5 6for dirpath, dirnames, filenames in os.walk(sys.argv[1]): 7 for n in dirnames: 8 print(os.path.join(dirpath, n)) 9 for n in filenames: 10 print(os.path.join(dirpath, n)) 11