Last active
April 13, 2017 21:01
-
-
Save romach/d623beede06f49cb4a357bf92d2544ae to your computer and use it in GitHub Desktop.
List files in folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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