W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
f = open("demofile2.txt", "a") f.write("\nSee you soon!") f.close() #open and read the file after the appending: f = open("demofile2.txt", "r") print(f.read())