Skip to content

Instantly share code, notes, and snippets.

@adyliu
adyliu / base62.py
Created January 9, 2013 15:55
Base62 encode/decode tools (convert number to string)
#!/usr/bin/env python
#-*- coding:utf-8 -*-
# Base62 tools (convert number <=> string)
# v1.0/20130109
# python 2.x/3.x supported
#
#author: Ady Liu([email protected])
#github: github.com/adyliu
import sys