May-19-2023, 11:03 AM
(This post was last modified: May-19-2023, 03:12 PM by deanhystad.)
Use int() to convert numeric strings to int objects.
print(int("0x3846", 16)) (str, base)
Output:14406
Python does not have 16 bit (or any fixed number of bits) ints, so signed/unsigned is not a thing in Python.