[Zope-dev] exec in zope?

Andrew Edmondson a.edmondson@eris.dera.gov.uk
Tue, 23 May 2000 10:23:47 +0100


I'm trying to pass a keyword argument to a function (in this case Catalog), but
to generate it from variables.

The following doesn't work, but it illustrates my idea:
	<dtml-in "Catalog(_.getitem(search_in)   =   _.getitem(search_for))">

The obvious way to do this in python would be to use the 'exec' command - but
that doesn't seem to work in zope.

Is there any way to do this in zope?

-Ed



-- 
Andrew Edmondson