Skip to content

Instantly share code, notes, and snippets.

@theengineear
Created May 2, 2014 20:06
Show Gist options
  • Save theengineear/670a0c940942c6642c2a to your computer and use it in GitHub Desktop.
Save theengineear/670a0c940942c6642c2a to your computer and use it in GitHub Desktop.
import os
files = [f for f in os.listdir('.') if os.path.isfile(f)]
for f in files:
if '.py' in f:
print "python file:", f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment