range = xrange

def _str2dict(strg):
    return dict([(c, 0) for c in strg])
alphas = string.lowercase + string.uppercase
Workflow for maintaining different versions of codebase for different versions of Python