Skip to content

Instantly share code, notes, and snippets.

@James-Firth
Created July 19, 2022 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save James-Firth/10ac7b640892d8f320fe7361b62cadb5 to your computer and use it in GitHub Desktop.
Save James-Firth/10ac7b640892d8f320fe7361b62cadb5 to your computer and use it in GitHub Desktop.
Print paths and filenames
import os
for dirname, _, filenames in os.walk('.'):
for filename in filenames:
print(os.path.join(dirname, filename))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment