How to make unique short URL with Python?

Edit: Here, I wrote a module for you. Use it. http://code.activestate.com/recipes/576918/ Counting up from 1 will guarantee short, unique URLS. /1, /2, /3 … etc. Adding uppercase and lowercase letters to your alphabet will give URLs like those in your question. And you’re just counting in base-62 instead of base-10. Now the only problem is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)