编辑器
f = open("demofile.txt", "r") print(f.readable())
C:\Users\My Name>python demo_file_readable.py
True