Expanding Search to Subfolders

BartlebyScrivener rpdooling at gmail.com
Tue Jun 6 03:10:36 CEST 2006


>>> Could someone tell me where to learn more about directory
>>> processes or show me an improved version of my first
>>> script snippet?

Use os.walk

http://docs.python.org/lib/os-file-dir.html

It takes a little reading to get it if you are a beginner, but there
are zillions of examples if you just search this Google Group on
"os.walk"

http://tinyurl.com/kr3m6

Good luck

rd

"I don't have any solution, but I certainly admire the
problem."--Ashleigh Brilliant




More information about the Python-list mailing list