creating communication between gateway and xbee module connected by a seria

hi,
i have a very bid probelm,i want to send and receive data comming from xbee module connected by a serial port with a pic using this python module attached above(xbeeserialmod.py).so howa ia can send an d receive data using this module or any other recommended module.
please reply me as soon as possible,
thanks

Branched this off and moved to a more appropriate forum.

Which Digi products do you have? Are you running python on one of our ConnectPort X products? What is associated to it?

i’m running python client code on ConnectPortX gateway attached above,and xbee module transceiver series 2 connected or is receiving UART data fro pic via serial port. i want to get a python module to be run on gateway to be able to receive and send data to my board contaning the xbee transceiver and pic

please help