Created
November 10, 2017 15:14
-
-
Save abdulhalim-cu/ff3249290aeb99624c3c9b819bdeea92 to your computer and use it in GitHub Desktop.
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
import os | |
for folderName, subfolders, filenames in os.walk('C:\\delicious'): | |
print('The current folder is ' + folderName) | |
for subfolder in subfolders: | |
print('SUBFOLDER OF ' + folderName + ': ' + subfolder) | |
for filename in filenames: | |
print('FILE INSIDE ' + folderName + ': '+ filename) | |
print('') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment