seeing input on x4

sir,i have given input on the UART of xbee interface board through RS 232 How can I see this input on connect port x4 using python code? Please reply me as soon as possible.

You can either use periodic sampling or queried sampling.
See the product manual for more details.

Either you can query for IS parameter or set IR to non zero value and parse the frame received at the X4.