結果 : how to avoid eof error in python