[Zope] URL encoding in a python script?

Bak @ kedai kedai@kedai.com.my
Wed, 20 Mar 2002 10:15:34 +0800


>Is there an equivalent to urllib.urlencode for Python scripts?
>
>I tried to import urllib and then use the above, but no luck.  Am I missing
>something obvious?
>

certain formatting like url_quote, html_quote, etc can be imported
off the top of my head, try:
from Products.PythonScript.standard import url_quote

if it doesnt work, check spelling, probably Products.PythonScripts.standards
..

>Thanks
>Etienne
>