parsing directory for certain filetypes

jay graves jaywgraves at
Mon Mar 10 15:24:50 CET 2008

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


More information about the Python-list mailing list