Re: Read from .csv file

2009-03-09 Thread Grant Edwards
On 2009-03-09, Karnama Ahmad (KTH) wrote: > > Dear all, > > I would be thankfukl if you answer to the following easy question: > > How can I read from a .csv file in Python and save the data in a array > or dictionary. I'd first try using the CSV module. http://www.google.com/search?q=python+csv

Re: Read from .csv file

2009-03-09 Thread Tim Chase
I would be thankfukl if you answer to the following easy question: How can I read from a .csv file in Python and save the data in a array or dictionary. I suspect your teacher expects you to use the "csv" module[1] in the standard library. -tkc [1] http://docs.python.org/library/csv.html

Re: Read from .csv file

2009-03-09 Thread Chris Rebert
On Mon, Mar 9, 2009 at 1:56 PM, Karnama Ahmad (KTH) wrote: > > Dear all, > > I would be thankfukl if you answer to the following easy question: > > How can I read from a .csv file in Python and save the data in a array > or dictionary. Use the `csv` module -- http://docs.python.org/library/csv.ht

Read from .csv file

2009-03-09 Thread Karnama Ahmad (KTH)
Dear all, I would be thankfukl if you answer to the following easy question: How can I read from a .csv file in Python and save the data in a array or dictionary. I look forward hearing from you. Best Regards, Ahmad -- http://mail.python.org/mailman/listinfo/python-list