python sys stdin readline eof