仅当没有足够内存可以一次读取整个文件时,才应该使用.readline()。 readlines返回行数问题. 官方文档这样写的: If the optional sizehint argument is present, instead ...
確定! 回上一頁