The fast way to read the lines of a file into a list with Python is to use the file object's readlines() method: with open('file.txt') as f:
確定! 回上一頁