Re: "Locate" command in Python
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: "Locate" command in Python

From: BartlebyScrivener <rpdooling@gmail.com>
Date: Mon Apr 10 2006 - 22:26:06 CEST

>>45.9 mb

Yikes.

I keep all of my data files on a separate logical drive. I indexed only
that one. I'm going to try and figure a way to store the results of
os.walk(root) as a shelve, and then search it that way.

In the meantime, you might try the script we were playing with in the
previous thread.
It's from the Python Cookbook. It doesn't create a file for searching,
but gets the job done.

http://groups.google.com/group/comp.lang.python/browse_frm/thread/90e36791afbb90b8

I'm thinking there is a way to crossbreed this script with Adonis's for
something lightning fast.

I'll post it if I get free time to make it.

rpd
Received on Sun Apr 30 22:45:18 2006