The full featured python ?
Hi, Is there somewhere a product or patch that gives a FULL FEATURED python for Zope scripts and DTML . Lots of python packages are more useful than "math" (cosinus and logarithm are well known essential Web resources ;-) In addition, "map", "filter" and "reduce" are useful shortcuts for dealing with lists. As myself and people who work with me are the only ones who may write DTML and python scripts, there is no secutity issue with a full featured Python on my server. Thanks in advance --Gilles
Hi Gilles, --On Dienstag, 20. November 2001 12:05 +0100 Gilles Lenfant <glenfant@bigfoot.com> wrote:
Hi,
Is there somewhere a product or patch that gives a FULL FEATURED python for Zope scripts and DTML .
you can at least enable some usefull packages for you if you edit lib/python/Products/PythonScripts/standard.py The way to enable them is pretty self-explaning.
Lots of python packages are more useful than "math" (cosinus and logarithm are well known essential Web resources ;-) In addition, "map", "filter" and "reduce" are useful shortcuts for dealing
Did you try list-comprehensions?
with lists. As myself and people who work with me are the only ones who may write DTML and python scripts, there is no secutity issue with a full featured Python on my server.
There still is: imagine a week password or even a mistake to bring the server down. Regards Tino
Yes. There is an Python Script product named "XXXPythonScripts". See http://www.zope.org/Members/4am/XXXPythonScripts. Gilles Lenfant wrote:
Hi,
Is there somewhere a product or patch that gives a FULL FEATURED python for Zope scripts and DTML .
Lots of python packages are more useful than "math" (cosinus and logarithm are well known essential Web resources ;-) In addition, "map", "filter" and "reduce" are useful shortcuts for dealing with lists. As myself and people who work with me are the only ones who may write DTML and python scripts, there is no secutity issue with a full featured Python on my server.
Thanks in advance
--Gilles
_______________________________________________ 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 )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"
"Chris" == Chris McDonough <chrism@digicool.com> writes:
| Yes. There is an Python Script product named | "XXXPythonScripts". See | http://www.zope.org/Members/4am/XXXPythonScripts. Quoting the description: --> This is a quick and dirty adjunct Product for the PythonScripts Product of Zope 2.3.x, for those who want to risk unrestricted TTW code. These Scripts appear very similar to normal ones, except that no restrictions are applied to the code, and they cannot be created or edited unless a special environment variable is set. In order to create or edit XXX Python Scripts, you have to set "ALL_YOUR_BASE_ARE_BELONG_TO" equal to "US". <-- Will it work with 2.4.x or 2.5.x? -Magnus
participants (4)
-
Chris McDonough -
Gilles Lenfant -
Magnus Alvestad -
Tino Wildenhain