intstrInt encode to string & string decode to int, can use in url shorten with a auto incr id | |
Download |
intstr Ranking & Summary
Advertisement
intstr Tags
intstr Description
intstr is a Python module to encode to string & string decode to int, can use in url shorten with a auto incr id.For example:import stringALPHABET = string.ascii_uppercase + string.ascii_lowercase + string.digits + '-_'intstr = IntStr(ALPHABET)s = intstr.encode(1234567)print sprint intstr.decode(s)intstr = IntStr(ALPHABET,"$")s = intstr.encode(-1234567)print sprint intstr.decode(s)Product's homepage
intstr Related Software