Discuss / Python / 作业

作业

Topic source

Super-String

#1 Created at ... [Delete] [Delete and Lock User]
fpath = 'E:/TexFiles/fig/Untitled-1.log'
with open(fpath, 'r', encoding='gbk', errors='ignore') as f:
    s = f.read()
    print(s)


  • 1

Reply