How do I parse this ? regexp ?

serpent17 at gmail.com serpent17 at gmail.com
Wed Apr 27 12:46:27 EDT 2005


Thank you, it works, but I guess not all the way:

for instance, I have this:
04242005 18:20:42-0.024329, 271.2469504, [-4.097900390625,
3.4332275390625, 105.062255859375], [0.0384521484375, 0.08416748046875,
-1.026885986328125], [0.00640869140625, 0.00885009765625,
0.00701904296875]

translates into


'04242005 18:20:42-0.024329  271.2469504   -4.097900390625
3.4332275390625  105.062255859375    0.0384521484375  0.08416748046875
-1.026885986328125    0.00640869140625  0.00885009765625
0.00701904296875 \n'

but I need to remove the first - between 18:20:42 and 0.024329 but not
the others.

Thank you in advance,

Jake.




More information about the Python-list mailing list