Loop over the file to read lines: with open('somefile') as openfileobject: for line in openfileobject: do_something().
確定! 回上一頁