Skip to content

Instantly share code, notes, and snippets.

@tiagoamx
Created August 19, 2014 12:20
Show Gist options
  • Save tiagoamx/b97c8b725202e169be92 to your computer and use it in GitHub Desktop.
Save tiagoamx/b97c8b725202e169be92 to your computer and use it in GitHub Desktop.
Remover acentuação em python.
import string
def remove_accents(data):
return ''.join(x for x in unicodedata.normalize('NFKD', data) if x in string.ascii_letters).lower()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment