Terry J. Reedy added the comment: > I'm guessing Terry wanted to say "os.listdir" instead of "os.walk". yes, sorry. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17343> _______________________________________