On Jun 8, 2:33 pm, HMS Surprise <[EMAIL PROTECTED]> wrote: > Greetings, > > Could someone point my muddled head at a/the python repository. I know > that one exists but cannot find it again. In particular I am looking > for a standalone search tool that given a path searches files for a > text string. > > Thanks, > > jvh
Are you looking for A.) a Python script to search for file names that match a given text string? B.) a script to search for a given text string within a text file? C.) a Python repository, as in the SVN/CVS area? Here's a couple scripts for finding files given a path: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52224 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/189973 And here's an interesting article on creating a Python "Find" utility: http://www.python.org/search/hypermail/python-1994q2/0116.html This link has a chapter from "Learning Python" by O'Reilly that talks about looking for words within files: http://www.oreilly.com/catalog/lpython/chapter/ch09.html The "repository" is here: http://svn.python.org/ Enjoy! Mike -- http://mail.python.org/mailman/listinfo/python-list