tag: python

Encode Base36 in Python

1 Feb, 2015 - 1 minutes

The cleanest way I’ve found so far to encode/decode between base36 and integers in Python. The primary purpose of this was to write a url shortener based on looking up a numbered url from a database.