def w():
try:
f=open("gushi.txt","w")
f.write("桃夭\n佚名 〔先秦〕\n桃之夭夭,灼灼其华。之子于归,宜其室家。\n桃之夭夭,有蕡其实。之子于归,宜其家室。\n桃之夭夭,其叶蓁蓁。之子于归,宜其家人。")
f.close()
except Exception:
print("w出错了")
w()
def r():
try:
f=open("gushi.txt")
c=f.readlines()
f.close()
f=open("copy.txt","w")
for temp in c:
f.write(temp)
except Exception:
print("r竟然出错了")
r()