Strip accents
def strip_accents(string): import unicodedata return unicodedata.normalize('NFKD', unicode(string)).encode('ASCII', 'ignore')
12388 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Adeel Khan http://umbc.edu/~adeel2
def strip_accents(string): import unicodedata return unicodedata.normalize('NFKD', unicode(string)).encode('ASCII', 'ignore')