Eof When Reading A Line Error In Python