I attempted to use the code below, but all I get is that I need exactly 1 argument, but I gave 0.
print "Copy one file into another:" print "Type first file here:" file1 = raw_input('>') openfile = open(file1).read() file2 = raw_input('>') open2file = open(file2, 'w') second = open2file.write() print "All Done"
writeis whatever you want to put in the output file.open2file.write("this line goes in the file").