splitlines() can also be written more succinctly as readlines() . On CPython you could also do the following (not recommended):. lines = open( ...
確定! 回上一頁