(websearch) script ?

Bernard bernard.chhun at gmail.com
Tue Feb 5 05:05:04 CET 2008


On 4 fév, 17:17, Stef Mientki <stef.mien... at gmail.com> wrote:
> hello,
>
> Being very satisfied with Python as a general program language,
> and having troubles with a number of PHP scripts, moving to another
> provider,
> I wanted to replace the PHP scripts with Python Scripts.
>
> The most important one is a PHP script that searches text in all
> documents on my website.
> Does someone has such a script ?

Text File Searcher : http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/511431

you'll need to adapt it a bit but you'll get the main idea on how to
do it for your situation





More information about the Python-list mailing list