demo_ref_file_writable.py:
f = open("demofile.txt", "a") print(f.writable())
C:\Users\My Name>python demo_file_writable.py
True