Here is a quick example on how to open the serial port and send/receive ZTC commands using python. It works on both Linux and Windows.
import serial
import binascii
GetModeCmd = ('\x02\xA3\x02\x00\x00\xA1') #ZTC-GetMode.Request 02 A3 02 00 00 A1
GetModeRespLenght = 26
#Linux:
#zigbeeUSB = serial.Serial('/dev/ttyACM0')
#Windows
zigbeeUSB = serial.Serial('COM59')
zigbeeUSB.baudrate = 115200
zigbeeUSB.timeout = None # This is important to zigbeeUSB.read is blocking
# until the number of bytes is received
print zigbeeUSB.portstr
print "GetMode request:"
print " ".join(hex(ord(n)) for n in GetModeCmd)
zigbeeUSB.write(GetModeCmd)
RxBuffer = zigbeeUSB.read(GetModeRespLenght)
print "GetMode response:"
print " ".join(hex(ord(n)) for n in RxBuffer)
zigbeeUSB.close()