Re: Error in reading and writing CSV format file in python

2013-02-11 Thread inshu chauhan
On Mon, Feb 11, 2013 at 3:22 PM, Dave Angel wrote: > On 02/11/2013 06:00 AM, inshu chauhan wrote: > >> In the programme below I am trying to read two csv format files and >> process >> them and write a new file with some of theirs data. >> >> import csv >> f1_reader = csv.reader(open(r"Z:\Weka >>

Re: Error in reading and writing CSV format file in python

2013-02-11 Thread Dave Angel
On 02/11/2013 06:00 AM, inshu chauhan wrote: In the programme below I am trying to read two csv format files and process them and write a new file with some of theirs data. import csv f1_reader = csv.reader(open(r"Z:\Weka work\Feature_Vectors_Fullset_00.arff")) f2_reader = csv.reader(open(r"Z:\W

Re: Error in reading and writing CSV format file in python

2013-02-11 Thread inshu chauhan
On Mon, Feb 11, 2013 at 2:02 PM, MRAB wrote: > On 2013-02-11 12:44, inshu chauhan wrote: > >> >> On Mon, Feb 11, 2013 at 1:26 PM, Steven D'Aprano >> >> > >> wrote: >> >> inshu chauhan wrote: >> >> > In the programme below I am trying to rea

Re: Error in reading and writing CSV format file in python

2013-02-11 Thread MRAB
On 2013-02-11 12:44, inshu chauhan wrote: On Mon, Feb 11, 2013 at 1:26 PM, Steven D'Aprano mailto:steve+comp.lang.pyt...@pearwood.info>> wrote: inshu chauhan wrote: > In the programme below I am trying to read two csv format files and > process them and write a new file with some

Re: Error in reading and writing CSV format file in python

2013-02-11 Thread inshu chauhan
On Mon, Feb 11, 2013 at 1:26 PM, Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > inshu chauhan wrote: > > > In the programme below I am trying to read two csv format files and > > process them and write a new file with some of theirs data. > > > > import csv > > f1_reader = csv.re

Re: Error in reading and writing CSV format file in python

2013-02-11 Thread Steven D'Aprano
inshu chauhan wrote: > In the programme below I am trying to read two csv format files and > process them and write a new file with some of theirs data. > > import csv > f1_reader = csv.reader(open(r"Z:\Weka > work\Feature_Vectors_Fullset_00.arff")) > f2_reader = csv.reader(open(r"Z:\Weka > work\

Re: Error in reading and writing CSV format file in python

2013-02-11 Thread MRAB
On 2013-02-11 11:00, inshu chauhan wrote: In the programme below I am trying to read two csv format files and process them and write a new file with some of theirs data. import csv f1_reader = csv.reader(open(r"Z:\Weka work\Feature_Vectors_Fullset_00.arff")) f2_reader = csv.reader(open(r"Z:\Weka

Error in reading and writing CSV format file in python

2013-02-11 Thread inshu chauhan
In the programme below I am trying to read two csv format files and process them and write a new file with some of theirs data. import csv f1_reader = csv.reader(open(r"Z:\Weka work\Feature_Vectors_Fullset_00.arff")) f2_reader = csv.reader(open(r"Z:\Weka work\Feature_Vectors_Fullset_00_noxy+class.