0xff в Python

 test2 = 99999999101 & 0xff
 print(test2) # prints 125
CompSciGeek