That, my friend, is ingenious...!<br><br>Thankyou<br><br>SM<br><br><div class="gmail_quote">2009/2/3 andrew cooke <span dir="ltr"><<a href="mailto:andrew@acooke.org">andrew@acooke.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">> > ValueError: unconverted data remains:  this is the remainder of the log  <br>
> > line<br>
> > that I do not care about<br>
<br>
</div>you could catch the ValueError and split at the ':' in the .args<br>
attribute to find the extra data.  you could then find the extra data<br>
in the original string, use the index to remove it, and re-parse the<br>
time.<br>
<br>
ugly, but should work.<br>
<font color="#888888">andrew<br>
</font><div><div></div><div class="Wj3C7c">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Simon Mullis<br>_________________<br><a href="mailto:simon@mullis.co.uk">simon@mullis.co.uk</a><br>