How can I encode an integer with base 36 in Python and then decode it again?
from numpy import base_repr num = base_repr(num, 36) num = int(num, 36)
Here is information about numpy.base_repr.