On Mar 10, 8:57 am, royG <[EMAIL PROTECTED]> wrote: > i wrote a function to parse a given directory and make a sorted list > of files with .txt,.doc extensions .it works,but i want to know if it > is too bloated..can this be rewritten in more efficient manner?
Try the 'glob' module. ... Jay -- http://mail.python.org/mailman/listinfo/python-list