reading data file into a list

Kiuhnm kiuhnm03.4t.yahoo.it
Wed May 2 07:12:08 EDT 2012


On 5/2/2012 11:59, ArifulHossain tuhin wrote:
> I have this data file which contains raw data in newline terminated for like below:
>
> 10.6626
> 11.2683
> 11.9244
> 12.5758
> 14.1402
> 15.1636
>
> Now i want to read that file and import this data into a numpy array. how should i go about it?

http://docs.scipy.org/doc/numpy/reference/routines.io.html

Kiuhnm



More information about the Python-list mailing list