Call open(file) to open the file named file . Call file.readlines() to get a list containing each line in file . Use the list comprehension syntax [line for ...
確定! 回上一頁