Time script help sought!

Mark McEahern marklists at mceahern.com
Tue Jan 11 13:40:34 EST 2005


kpp9c wrote:

>The input would like so:
>  
>

[...]

Attached is a first cut at a parser that actually uses the raw content 
of your original email.  You'll notice that the net effect is that the 
parser instance's items attribute contains the source ordered list of 
items with attributes for each of the various parts of the line.  From 
this, it should be pretty easy to adjust the times and what not.

Cheers,

// m
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: parser.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20050111/71f7abbc/attachment.ksh>


More information about the Python-list mailing list