How to remove accent in Python 3.5 and get a string with unicodedata or other solutions?

前端 未结 4 1825
清酒与你
清酒与你 2021-01-11 16:36

I am trying to get a string to use in google geocoding api.I ve checked a lot of threads but I am still facing problem and I don\'t understand how to solve it.

I nee

4条回答
  •  悲哀的现实
    2021-01-11 17:02

    with 3rd party package: unidecode

    3>> unidecode.unidecode("32 rue d'Athènes Paris France")
    "32 rue d'Athenes Paris France"
    

提交回复
热议问题