def remove_accents(input_str):
 nkfd_form = unicodedata.normalize(u'NFKD', force_text(input_str))
 only_ascii = nkfd_form.encode(u'ASCII', u'ignore')
 return only_ascii

def remove_accents ( input_str ) : nkfd_form = unicodedata . normalize ( u'NFKD' , force_text ( input_str ) ) only_ascii = nkfd_form . encode ( u'ASCII' , u'ignore' ) return only_ascii
remove accents from characters in the given string .