Thread
:
Searching for a file with Python
View Single Post
Jan 12th, 2006, 11:47 AM
#
3
Sane
Programming Guru
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,835
Rep Power:
5
Hey, it would be good to use os.walk if you don't know what folder the file is located in.
(
Toggle Plain Text
)
import os for path,files,dirs in os.walk('C:/'):
import os for path,files,dirs in os.walk('C:/'):
Something like that. :banana:
Sane
View Public Profile
Find More Posts by Sane