Re: [Numpy-discussion] manipulating lists

2009-03-24 Thread Nils Wagner
On Tue, 24 Mar 2009 10:27:18 -0400 josef.p...@gmail.com wrote: > On Tue, Mar 24, 2009 at 10:14 AM, Nils Wagner > wrote: >> Hi all, >> >> How can I extract the numbers from the following list >> >> ['&', '-1.878722E-08,', '3.835992E-11', >> '1.192970E-03,-5.080192E-06'] >> >> It is easy to extrac

Re: [Numpy-discussion] manipulating lists

2009-03-24 Thread josef . pktd
On Tue, Mar 24, 2009 at 10:14 AM, Nils Wagner wrote: > Hi all, > > How can I extract the numbers from the following list > > ['&', '-1.878722E-08,', '3.835992E-11', > '1.192970E-03,-5.080192E-06'] > > It is easy to extract > liste[1] > '-1.878722E-08,' liste[2] > '3.835992E-11' > > but >

[Numpy-discussion] manipulating lists

2009-03-24 Thread Nils Wagner
Hi all, How can I extract the numbers from the following list ['&', '-1.878722E-08,', '3.835992E-11', '1.192970E-03,-5.080192E-06'] It is easy to extract >>> liste[1] '-1.878722E-08,' >>> liste[2] '3.835992E-11' but >>> liste[3] '1.192970E-03,-5.080192E-06' How can I accomplish that ? Nils