By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,222 Members | 2,478 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,222 IT Pros & Developers. It's quick & easy.

How to search for files

P: n/a
ADE
Hi I am building an application in Tkinter and Python that searches my
harddrive for images

I would like to know how I could search for filenames on my hardrive

eg if I do a search for sunsets I would like everything with the name sun
sunset and sunsets to appear

just the filename and the path I would like displayed it would be appearing
in a listbox

Anyhelp is appreciated

You guys/girls rock

Cheers

if you need to take a look at my code post to this message

Thanks again
Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
os.walk (needs python 2.3) and/or glob.glob() should be good places to
start your search.
Jul 18 '05 #2

P: n/a
ADE
Hi I figured it out thank you for pointing me in the right direction
"fBechmann" <fB*******@web.de> wrote in message
news:c0*************@news.t-online.com...
os.walk (needs python 2.3) and/or glob.glob() should be good places to
start your search.

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.