What Python script is needed to read data from the serial port of a ConnectPort and send?

Once received over the one available serial interface, data should be sent from the ConnectPort to the nearest Wi-Fi access point. Digi ConnectPort model is the TS1W MEI. The sender in this case is an Arduino Uno board.

I would like to know how to write the Python script needed to do this job?