Skip to content

Instantly share code, notes, and snippets.

@Everfighting
Created July 18, 2019 06:50
Show Gist options
  • Save Everfighting/979816005a001f548001368dbc9a05c8 to your computer and use it in GitHub Desktop.
Save Everfighting/979816005a001f548001368dbc9a05c8 to your computer and use it in GitHub Desktop.
import glob
path = 'c:\\projects\\hc2\\'
files = [f for f in glob.glob(path + "**/*.txt", recursive=True)]
for f in files:
print(f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment