search entire drive say c:

Tim Golden mail at timgolden.me.uk
Fri Feb 12 13:36:42 CET 2010


On 12/02/2010 12:17, prakash jp wrote:
> Hi all,
>
> can any of u help to search a file say "abc.txt" in entire c drive (windows)
> and print the path/s stating such a files presence.

This sounds rather like homework...

Have a look at os.walk

TJG



More information about the Python-list mailing list