[Zope] Newbie External Method - Python help
Vicente Castelló Ferrer
teten@gmx.net
Tue, 8 Jan 2002 17:44:31 +0100
Hi all,
I am trying to process some operations in a external method, becuase as far
as i know, i can't import mysqldb in a python script due to security
restrictions.
Through a form I get the values of the variables and the action of the form
is the execution of the external method. The external method starts
comparing a value, so if it is equal to 'c' for example, other function
starts and so on.
The problem I have is that I would need to set the values of the form
variables as global, so any function inside the external method can access
to them. As I explicitly need to place a function name in Zope's external
method manage screen, I don't know how to set these variables as global.
Any help will be apreciated
TIA
Vicente Castelló