reading data file into a list

ArifulHossain tuhin etothepowerpi at gmail.com
Wed May 2 05:59:55 EDT 2012


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?



More information about the Python-list mailing list