Skip to content

Instantly share code, notes, and snippets.

@romach
Last active April 13, 2017 21:01
Show Gist options
  • Save romach/d623beede06f49cb4a357bf92d2544ae to your computer and use it in GitHub Desktop.
Save romach/d623beede06f49cb4a357bf92d2544ae to your computer and use it in GitHub Desktop.
List files in folder
for file in listdir('/home/romach/Projects/javaman-jekyll-ru/_drafts'):
print file
files = [f for f in listdir(mypath) if isfile(join(mypath, f))]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment