A better approach for large files is to use the fileinput module, as follows: import fileinput for line in fileinput. This package also provides support for ...
確定! 回上一頁