Anonymous user
File input/output: Difference between revisions
→{{header|Python}}
m (→{{header|J}}: fix filename) |
|||
Line 799:
<python>x = open("output.txt","w")
y = open("input.txt","r")
x.write(y.read())
x.close()
y.close()</python>
or:
|