Hi, I am currently running a external method .This method calls a python script using the following line <a href=\"http://localhost/cgi-bin/test.py?%s+%s\">%s</a>" %(name,age,gender) Instead of calling the python script we want to add the script as an external method in zope.The problem we are currently facing is in generating the above link dynamically. How do we solve the above problem ? Thanks, Kini. __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
check out the urlencode function of urllib. kapil Kini Natekar wrote:
Hi,
I am currently running a external method .This method calls a python script using the following line
<a href=\"http://localhost/cgi-bin/test.py?%s+%s\">%s</a>" %(name,age,gender)
Instead of calling the python script we want to add the script as an external method in zope.The problem we are currently facing is in generating the above link dynamically.
How do we solve the above problem ?
Thanks, Kini.
__________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Ender -
Kini Natekar