Process Stdout Readline Python