[Zope] Adding a new binding for Python Scripts
Sebastian Krollmann
sebastian.krollmann at gmx.net
Fri Jan 2 06:34:44 EST 2004
Hi everybody and a good new ZYear ;-),
I need to add some textual info (docstring) to all Python Scripts. I see
three possible solutions for that:
1. Patching Python Script Product to add one more property additional to the
title property
2. Patching Python Script Product to add one more binding varable
3. Adding a special variable declaration and parsing the body of the script
to retrieve the text.
The body of scrips is parsed for syntax errors, but is it possible to get
the values of variables without calling the script?
Has anybody done something like this before or can give some ideas, hints
etc.?
-- Thanks for your help, SK
More information about the Zope
mailing list