On Mar 10, 8:57 am, royG <roygeor... at gmail.com> 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