[Zope] generating Python Scripts on the fly

Thomas B. Passin tpassin@mitretek.org
Tue, 5 Jun 2001 14:02:49 -0400


[Tom Palermo]

> Have any of you ever used manage_addPythonScript(id, REQUEST=None) to
create
> Python Scripts on the fly. I want to create a Python Script which simply
> returns a tuple of values from a form filled out by a user. Othe DTML
and/or
> Python scripts would then use this generated Python script to
automatically
> build a table layout in HTML. If anyone has ever used or knows the proper
> way to use manage_addPythonScript, please let me know. I want to add the
> script to a folder or possible a ZClass (adding to a folder is sufficient
> for now). Thanks for any assistance.
>

Can't you just build the table from a pre-existing script or dtml code?
After all, the form itself is (I suppose) already fixed in its form.

Cheers,

Tom P