def to_7L5M(value):
 return ((value & 127), ((value >> 7) & 31))

def to_7L5M ( value ) : return ( ( value & 127 ) , ( ( value >> 7 ) & 31 ) )
returns a list with the 7 lower bits of the value followed by the 5 higher bits .