文字列分解

";"で区切られた数値羅列の文字列から
数値だけリストとして取り出す。

% python
Python 2.4.4 (#1, Oct 18 2006, 10:34:39) 
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> s='383950024.033;1.002;00;2;45.30;0.911;65;2341988;7.5;3.1'
>>> map(float,s.split(";"))
[383950024.03299999, 1.002, 0.0, 2.0, 45.299999999999997, 0.91100000000000003, 65.0, 2341988.0, 7.5, 3.1000000000000001]
>>> list=[]
>>> list=map(float,s.split(";"))
>>> list[0]
383950024.03299999
>>>