Using a glob isn't better? or a os.walk if glob doesn't work? (also, pep8 is not respected for the "*" operator)