[Tutor] urllib unquote
Norman Khine
norman at khine.net
Mon Feb 16 14:12:55 CET 2009
Hello,
Can someone point me in the right direction. I would like to return the
string for the following:
Type "help", "copyright", "credits" or "license" for more information.
>>> import base64, urllib
>>> data = 'hL/FGNS40fjoTnp2zIqq73reK60%3D%0A'
>>> data = urllib.unquote(data)
>>> print base64.decodestring(data)
???Ը???Nzv̊??z?+?
>>>
What am I missing?
Cheers
Norman
More information about the Tutor
mailing list