November 2009
1 post
Creating unicode permalinks in Python (even from...
Optimizing this blog post, which shows you how to create a greek to greeklish “translator”, I’ve created a permalink function that creates urls from greek titles (but you can use your language).
Enjoy!
def create_permalink(s): “”“ Create greeklish permalinks. Also works for english. “”“ import string import re input_string =...