number = -127
array = number.to_bytes( 1 , byteorder='big' , signed=True )
only convert to a single byte
print( array[0] )
number_positive = 254
array = array + number_positive.to_bytes( 1 , byteorder='big' , signed=False )
then how should i print -127 and 254 separately out
if i just use array[0] and array[1] the answer would be two positive
any help is much appreciated thank you in advance