The easiest way is to use the readlines() function on the open file. That does exactly what you want - it creates a new list and puts every line of the file ...
確定! 回上一頁