原本,我觉得read,readline,readlines比较简单,没什么好说的, ... 'rb') as f: print(f.readline(5)) # 输出: b'123\n' with open('filename', ...
確定! 回上一頁