recursing through files in a folder

Scott Carlson scarlson at omnimn.com
Fri Oct 1 15:20:28 CEST 2004


New to Python.  Very new.

I need to pass a parameter to the program I create that points to a
folder.  (How are params passed in?)

Then, I need to be able to scroll through each file in the folder,
looking for files with a particular naming convention.

What is the best way to be able to look at each file in a folder and
decide if I wish to use that one, and then go to the next file?

Thanks,
Scott



More information about the Python-list mailing list