I\'m working on making a URL shortener for my site, and my current plan (I\'m open to suggestions) is to use a node ID to generate the shortened URL. So, in theory, node 26
ASCII to int:
ord('a')
gives 97
97
And back to a string:
str(unichr(97))
chr(97)
gives 'a'
'a'