url encode

Lee Jones LJones at securetrading.com
Tue Jun 5 11:38:38 CEST 2007



I am trying to urlencode a string.  In python the only thing I can see
is the urllib.urlencode().  But this takes a dictionary, and returns
"key=value", which is not what I want.  I only want to url-encode a
string.  Does any one know how to do this in python





Lee Jones, 

Software Developer
SecureTrading Ltd
European Operations Centre
Parc Menai
Gwynedd LL57 4BL 
T: 01248 672 028
F: 01248 672 099



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070605/89bb3966/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 3164 bytes
Desc: image001.gif
URL: <http://mail.python.org/pipermail/python-list/attachments/20070605/89bb3966/attachment.gif>

More information about the Python-list mailing list