Discuss / Python / 记录-文件读写

记录-文件读写

Topic source
fpath = './test.txt'with open(fpath, 'r') as f:
    s = f.read()
    print(s)

  • 1

Reply