Merging Lists in ArcMap/Python Script -
i trying plug in many .txt files arcmap using below code:
mylist=arcpy.getparameterastext(0) print mylist open('c://folder//mylist.txt', 'w') outfile: fname in windlist: open(fname) infile: line in infile: outfile.write(line)
all take multiple text files , merge 2 together.
this results in error shown here:
with open(fname) infile: ioerror: [errno 2] no such file or directory: u'c'
any ideas?
thanks can offer
Comments
Post a Comment