Commit 417c491c authored by root's avatar root

move a file

parent 0f28a096
import os
f=open("../data/file1.txt")
contents=f.read()
g=open("../data/file2.txt","w")
g.write(contents)
os.remove("../data/file1.txt")
f.close()
g.close()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment