PythonExtra/ports/sh/examples/file/read1.py

5 lines
57 B
Python

f = open("demofile.txt", "r")
print(f.read())
f.close()