读取文件

  1. f = open("demofile.txt", "r")
  2.  
  3. print(f.read())