源代码
f = open("demofile.txt", "a") print(f.writable())
运行结果