I would like to convert 'Lawrence_Warbasse_-_Dauphin%C3%A9_2013.JPG' to 'Lawrence_Warbasse_-_Dauphiné_2013.JPG' usig python
Asked
Active
Viewed 31 times
You can use urllib
to decode this:
import urllib
url = 'Lawrence_Warbasse_-_Dauphin%C3%A9_2013.JPG'
print urllib.unquote(url).decode('utf8')
The output I get is:
Lawrence_Warbasse_-_Dauphiné_2013.JPG