[Zope] The full featured python ?

Tino Wildenhain tino@wildenhain.de
Tue, 20 Nov 2001 12:09:35 +0100


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