hakermania hakermania - 3 months ago 13
Python Question

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

Is there any way in python to transfrom this-> %CE%B1%CE%BB%20 into this: "αλ " which is its real representation?

Thanks in advance!

Answer
>>> import urllib2
>>> print urllib2.unquote("%CE%B1%CE%BB%20")
αλ 
Comments