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 listdir_nohidden(path): | |
for f in os.listdir(path): | |
if not f.startswith('.'): | |
yield os.path.join(path,f) | |
def listdir_nohidden(path): | |
return glob.glob(os.path.join(path, '*')) |