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