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
from os import walk, path | |
for x in walk('/'): | |
for dirs in x[1]: | |
if dirs == ' ': | |
print(path.join(x[0], dirs)) | |
# test this by running the following bash | |
# mkdir " " | |
# run this script |
NewerOlder