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 | |
import random | |
import string | |
def recursiveDirectoryContents(dir): | |
for root, dirs, files in os.walk(dir): | |
for file in files: | |
yield os.path.join(root, file) | |
def randomString(length=10): |
NewerOlder