demo_ref_file_isatty.py:
f = open("demofile.txt", "r") print(f.isatty())
C:\Users\My Name>python demo_file_isatty.py
False