hexadecimal with python
# int into hex
_hex = hex(42) # hexadecimal string
# hex into int
# you must specify base 16 as 2nd param as this tells python you're
# working with hexadecimal
int_hex = int(_hex, 16) # returns an integer
hexadecimal with python
# int into hex
_hex = hex(42) # hexadecimal string
# hex into int
# you must specify base 16 as 2nd param as this tells python you're
# working with hexadecimal
int_hex = int(_hex, 16) # returns an integer
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us