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