Using url_quote in Script(Python)
Hi, If I use url_quote(request.QUERY_STRING) in my Script(Python) I get an error stating that url_quote is not known, how can this be? Andreas -- Stay the curse.
Did you import it .. from Products.PythonScripts.standard import url_quote On Fri, 13 Jun 2003, Andreas Pakulat wrote:
Hi,
If I use url_quote(request.QUERY_STRING) in my Script(Python) I get an error stating that url_quote is not known, how can this be?
Andreas
On 13.Jun 2003 - 07:11:30, Dennis Allison wrote:
Did you import it ..
I tried but...
from Products.PythonScripts.standard import url_quote
Only with from standards import url_quote. This should be in the ZopeBook. Andreas
On Fri, 13 Jun 2003, Andreas Pakulat wrote:
Hi,
If I use url_quote(request.QUERY_STRING) in my Script(Python) I get an error stating that url_quote is not known, how can this be?
Andreas
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Tomorrow, you can be anywhere.
Perhaps, but it's nearly identical to the standard template code provided when you create a Python Script. On Fri, 13 Jun 2003, Andreas Pakulat wrote:
On 13.Jun 2003 - 07:11:30, Dennis Allison wrote:
Did you import it ..
I tried but...
from Products.PythonScripts.standard import url_quote
Only with from standards import url_quote. This should be in the ZopeBook.
Andreas
On Fri, 13 Jun 2003, Andreas Pakulat wrote:
Hi,
If I use url_quote(request.QUERY_STRING) in my Script(Python) I get an error stating that url_quote is not known, how can this be?
Andreas
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Tomorrow, you can be anywhere.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
By the way, if you think it should be in the book, go to the online version of the book, find the place it should be included, and add a reviewer note. On Fri, 13 Jun 2003, Andreas Pakulat wrote:
On 13.Jun 2003 - 07:11:30, Dennis Allison wrote:
Did you import it ..
I tried but...
from Products.PythonScripts.standard import url_quote
Only with from standards import url_quote. This should be in the ZopeBook.
Andreas
On Fri, 13 Jun 2003, Andreas Pakulat wrote:
Hi,
If I use url_quote(request.QUERY_STRING) in my Script(Python) I get an error stating that url_quote is not known, how can this be?
Andreas
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Tomorrow, you can be anywhere.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andreas Pakulat -
Dennis Allison