W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
f = open("demofile3.txt", "a") f.writelines(["See you soon!", "Over and out."]) f.close() #open and read the file after the appending: f = open("demofile3.txt", "r") print(f.read())