Reading text file with: file.readline(size=10) returns the full line

后端 未结 0 1030
南笙
南笙 2020-12-17 07:02

Using python 3.8 I tried the size parameter of the io.TextIOBase.readline method (file.readline(10)).

According to the docs:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题