you can take a look urlib.quote or quote_plus methods.
Jim On 6/5/07, Lee Jones <[EMAIL PROTECTED]> wrote:
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 -- http://mail.python.org/mailman/listinfo/python-list
-- Yongjian (Jim) Xu =========== Sysops
-- http://mail.python.org/mailman/listinfo/python-list