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

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -