代码示例:(标识:python_ref_file_seekable)
python_ref_file_seekable.py
f = open("demofile.txt", "r")

print(f.seekable())
运行结果: