If you want to read only one single individual line from a text file, use the readline() method: with open("example.txt") as file: ...
確定! 回上一頁