Thanks Tim, this definitely does it. I was trying to prevent having to spend time absorbing the core of how generators work, because this simple is all I need to do, and I don't have the updated python cookbook book. The one I have discussed the old os.path.walk.
Tim Peters <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > thebasedir = "C:\\tmpold" > for dummy, dummy, permanentFilelist in os.walk(thebasedir): > break -- http://mail.python.org/mailman/listinfo/python-list