[SciPy-user] Cookbook/InputOutput

fred fredmfp at gmail.com
Fri Oct 26 10:30:28 EDT 2007


Nils Wagner a écrit :
> Hi all,
>
> I tried to use the home-made function
> (available at http://www.scipy.org/Cookbook/InputOutput)
> to read an array from the file topo-28.xohis
> (See attachment for details).
>
> If I run the script (xy.py) I get
>
> python -i xy.py
> Traceback (most recent call last):
>   File "xy.py", line 47, in ?
>     data = readArray("topo-28.xohis")
>   File "xy.py", line 35, in readArray
>     items = split(stripped_line)
stripped_line.split() ?

-- 
http://scipy.org/FredericPetit




More information about the SciPy-User mailing list