0

I'm trying to convert a byte like b'2076' into an integer int = 2076 but I don't know how to solve the problem. I am using python 3.7.0.

I tried to search other answers but don't find the problem I have

b'1027'

int = 1027

I expect to convert b'1027' into 1027 as a integer

Jared Forth
  • 1,487
  • 5
  • 18
  • 30

0 Answers0