Extract Text Table From File

Huso hussain.a.rasheed at gmail.com
Mon Aug 27 07:23:00 EDT 2012


Hi,

There can be any number of blocks in the log file.
I distinguish the block by the start header 'ROUTES TRAFFIC RESULTS, LSR' and ending in 'END'. Each block will have a unique [date + time] value.

I tried the code you mentioned, it works for the data part.
But I need to get the TRG, MP, DATE and TIME for the block with those data as well. This is the part that i'm really tangled in.

Thanking,
Huso



More information about the Python-list mailing list