Created
May 16, 2016 04:06
-
-
Save mizunototori/2819cd5b7d48fd243b4d14a4a871a705 to your computer and use it in GitHub Desktop.
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
| def find_all_files(directory): | |
| for root, dirs, files in os.walk(directory): | |
| yield root | |
| for file in files: | |
| yield os.path.join(root, file) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment