[Tutor] Compute data usage from log
Eri Mendz
erimendz at gmail.com
Wed Oct 28 04:29:37 CET 2009
On Tue, Oct 27, 2009 at 7:24 PM, Dave Angel <davea at 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
More information about the Tutor
mailing list