def shi(i, base='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'):
 s = []
 while (i > 0):
  (i, r) = divmod(i, len(base))
  s.append(base[r])
 return ''.join(reversed(s))

def shi ( i , base = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' ) : s = [ ] while ( i > 0 ) : ( i , r ) = divmod ( i , len ( base ) ) s . append ( base [ r ] ) return '' . join ( reversed ( s ) )
returns a short string hash for a given int .