def device(portnum):
    return 'COM%d' % (portnum+1) # numbers are transformed to a string
Turn a port number into a device name
dataset/ETHPy150Open Robot-Will/Stino/stino/pyarduino/base/pyserial/serialwin32.py/device