Transform URL string into normal string in Python (%20 to space etc)

Viewed 51871

Is there any way in Python to transform this %CE%B1%CE%BB%20 into this αλ which is its real representation?

3 Answers

python 3 answer

import urllib 
urllib.parse.unquote('/El%20Ni%C3%B1o/')

'/El Niño/'

source

Related