url encode

Lee Jones LJones at securetrading.com
Tue Jun 5 05:38:38 EDT 2007


Hello,

 

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

Thanks

Lee

 

 

Lee Jones, 

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

www.securetrading.com

 

-------------- 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