The XBee Cellular module supports Python directly within its firmware. To enable this function, set the AT AP command to a value of 4 <carriage return>. Then enter ATCN to exit command mode. Enter another carriage return after exiting command mode. The radio should now be in programming mode.
>>> (This indicates that the radio is now in Python programming mode. )
Sep 28, 2017