Created
December 2, 2014 12:45
-
-
Save haradreborn/d44f07b737ecf11d64f5 to your computer and use it in GitHub Desktop.
Get list of files
This file contains 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
from os import listdir | |
from os.path import isfile, join | |
def get_file_list(self, tmp_path): | |
files = [ f for f in listdir(tmp_path) if isfile(join(tmp_path,f)) ] | |
return files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment