On 8 March 2013 16:07, davidsnt <david...@gmail.com> wrote: > Hello, > > How to read log files in python, On the first run I need to read all the > lines from the log, process it and get the position of the last read line > and from the next run I have to read from the last read line and process > all the lines after it and similarly. Can you please help me with some > examples?
If you already know about seek and tell, Python file objects offer similar functionality. Please look up documentation on this. Regards, Gora _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers