There's no need to check for EOF in python, simply do: ... This will work because the the readline() leaves a trailing newline character, ...
確定! 回上一頁