def getStartingAddress(packet):
 return ((ord(packet[8]) << 8) + ord(packet[9]))

def getStartingAddress ( packet ) : return ( ( ord ( packet [ 8 ] ) << 8 ) + ord ( packet [ 9 ] ) )
get the address of a modbus request .