[Tutor] urlencode

Lee Jones LJones at securetrading.com
Tue Jun 5 11:03:43 CEST 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

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070605/b418234c/attachment.htm 


More information about the Tutor mailing list