Posted on 24th July 2024|13 views
How to convert hex string to int in Python?
Posted on 24th July 2024| views
int(hexString, 16) you can use this string it works with and without 0x prefix
int("b", 16)
10
int("0xb",16)