Skip to content

Instantly share code, notes, and snippets.

@hampelm
Created July 12, 2010 20:23
Show Gist options
  • Save hampelm/473002 to your computer and use it in GitHub Desktop.
Save hampelm/473002 to your computer and use it in GitHub Desktop.
import os
path="/some/directory"
dirList=os.listdir(path)
for fname in dirList:
print fname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment