How do I parse this ? regexp ?

serpent17 at gmail.com serpent17 at gmail.com
Wed Apr 27 10:56:11 EDT 2005


Hello all,

I have this line of numbers:


04242005 18:20:42-0.000002, 271.1748608, [-4.119873046875,
3.4332275390625, 105.062255859375], [0.093780517578125, 0.041015625,
-0.960662841796875], [0.01556396484375, 0.01220703125,
0.01068115234375]


repeated several times in a text file and I would like each element to
be part of a vector. how do I do this ? I am not very capable in using
regexp as you can see. 


Thanks in advance, 


Jake.




More information about the Python-list mailing list