Skip to content

Instantly share code, notes, and snippets.

@zeffii zeffii/fileglob.py
Created Oct 12, 2016

Embed
What would you like to do?
glob python files in dir
import glob
import os
pathname = r"C:\Users\zeffi\Desktop"
files = "*.svg"
for file in glob.glob(os.path.join(pathname, files)):
print(file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.