源代码
f = open("demofile.txt", "r") print(f.read())
运行结果