On Tue, Oct 27, 2009 at 7:24 PM, Dave Angel <da...@ieee.org> wrote: > (For some reason you keep top-posting. Add your comments to the end, or > inline if appropriate) >
Hi Dave, Noted the top posting thing thanks for reminding :-) > <snip> > In an earlier example, you already had a for loop on the log_file so the > last line would still be in the variable "line". If you put the date logic > right after the loop, there'd be nothing wrong with using the last line that > way. Beats going back through the file and repeating it all again. > > DaveA Yes i agree. I put the date variable after last line of the for loop. And it works as expected. -- Best Regards _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor