Re: reading data file into a list

2012-05-02 Thread Steven D'Aprano
On Wed, 02 May 2012 02:59:55 -0700, 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 sho

Re: reading data file into a list

2012-05-02 Thread Kiuhnm
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

Re: reading data file into a list

2012-05-02 Thread Peter Otten
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? myarray = numpy.

reading data file into a list

2012-05-02 Thread ArifulHossain tuhin
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://mail.python.org/mailman/listinfo/python-list