Here is my attempt to merge 10 files stored in a folder into a single file :
import csv
with open(C:\Users\inshu.chauhan\Desktop\test.arff, w) as w:
writer = csv.writer(w)
for f in glob.glob(C:\Users\inshu.chauhan\Desktop\For
Model_600\*.arff):
rows = open(f, r).readlines()
hi
It seems you forgot to escape the escape character in the file names ('\'):
C:\Users\inshu.chauhan\Desktop\test.arff
= rC:\Users\inshu.chauhan\Desktop\test.arff
or
= C:\\Users\\inshu.chauhan\\Desktop\\test.arff
++
Thomas
2013/2/19 inshu chauhan insidesh...@gmail.com
Here is my attempt to
On 19/02/2013 15:27, inshu chauhan wrote:
Here is my attempt to merge 10 files stored in a folder into a single file :
import csv
with open(C:\Users\inshu.chauhan\Desktop\test.arff, w) as w:
writer = csv.writer(w)
for f in glob.glob(C:\Users\inshu.chauhan\Desktop\For
On 2013-02-19 15:27, inshu chauhan wrote:
Here is my attempt to merge 10 files stored in a folder into a single file :
import csv
with open(C:\Users\inshu.chauhan\Desktop\test.arff, w) as w:
writer = csv.writer(w)
for f in glob.glob(C:\Users\inshu.chauhan\Desktop\For
On Tue, Feb 19, 2013 at 4:54 PM, MRAB pyt...@mrabarnett.plus.com wrote:
On 2013-02-19 15:27, inshu chauhan wrote:
Here is my attempt to merge 10 files stored in a folder into a single
file :
import csv
with open(C:\Users\inshu.chauhan\**Desktop\test.arff, w) as w:
writer =
On 19/02/2013 15:40, Thomas Calmant wrote:
hi
It seems you forgot to escape the escape character in the file names ('\'):
C:\Users\inshu.chauhan\Desktop\test.arff
= rC:\Users\inshu.chauhan\Desktop\test.arff
or
= C:\\Users\\inshu.chauhan\\Desktop\\test.arff
++
Thomas
Yuck :)
--
Cheers.