Python serial input.