[Zope] Problems with External Script

Thomas B. Passin tpassin@mitretek.org
Mon, 4 Feb 2002 12:42:36 -0500


[Paul Winkler]

>
> > This isn't proper python, so I don't see how it would have worked at
all.
> > If you want to interpolate variables into a string, you have to use
"%s",
> > not "%(something else)s".  If that's not what you are trying to do, the
> > expression % locals() isn't valid.
>
> Actually, that part *is* proper python.
>

Ah, the new syntax - I was thinking Python 1.5.2, as in pre-Zope 2.4.

Tom P