Re: Index server

2005-01-14 Thread Marcel van den Dungen
[EMAIL PROTECTED] wrote:
Is there an Index server available in Python? For example:
I have large intranet with several servers and I would like to index
documents like  search engines do. Users then can search for a domument
in ALL intranet servers like I do on Google.
Thanks for answers
L.A.
Take a look at the following URLs:
http://www.methods.co.nz/docindexer/
http://www.divmod.org/Home/Projects/Lupy/index.html
http://www.divmod.org/Home/Projects/Pyndex/index.html
HTH,
-- Marcel
--
http://mail.python.org/mailman/listinfo/python-list


Re: Basic file operation questions

2005-02-02 Thread Marcel van den Dungen
alex wrote:
Hi,
I am a beginner with python and here is my first question:
How can I read the contents of a file using a loop or something? I open
the file with file=open(filename, 'r') and what to do then? Can I use
something like
for xxx in file:
   
Thanks for help
Alex
take a look at this:
http://www.devshed.com/c/a/Python/File-Management-in-Python/
HTH,
-- Marcel
--
http://mail.python.org/mailman/listinfo/python-list