"Magnus Heino (Rivermen)" wrote:
> 
> Hi.
> 
> How can I do a url quote from a python script?
> 
> Can I somehow access the method in urllib or DT_Var or how can it be done?
> 
> --
> 
> /Magnus Heino
> 

Hi Magnus

You have to import url_quote like:

from Products.PythonScripts.standard import url_quote

and then call it on what you want to be url_quoted, like:

url_quote(whatever)


--- Flynt

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to