Skip to content

Instantly share code, notes, and snippets.

@efazati
Created January 8, 2013 15:20
Show Gist options
  • Save efazati/4484583 to your computer and use it in GitHub Desktop.
Save efazati/4484583 to your computer and use it in GitHub Desktop.
very simple file finder.
import os
x = os.listdir('.')
result = []
for item in x:
if item.startswith("a"):
result.append(item)
print result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment