[Zope] Re: About XXX and not XXX
Peter Bengtsson
mail@peterbe.com
Fri, 20 Jul 2001 11:19:14 +0200
The equivalent in Python Script is this:
from Products.PythonScripts.standard import url_quote, url_quote_plus
print url_quote_plus("peter bengtsson")
print url_quote("peter bengtsson")
return printed
The only think I really miss in Python Scripts is the builtin type() and
some functions from urllib.py.
Why do you think type() and urllib() are unauthorized for Python Scripts?
> I fixed it (for me) by adding an XXXPythonscript which
>
> Param :x
>
> Import urllib
> Return urllib.quote(x)
>
>
> Now I get my full name in the input form...
>
> Cheers
>
> tom
>