[Zope] Translating DTML into Python Script

Erik Enge erik@thingamy.net
Mon, 11 Jun 2001 12:52:24 +0200 (CEST)


On Mon, 11 Jun 2001, Andreas Pauley wrote:

> But when I try to loop through these results I get the following error:
> 
> Error Type: AttributeError
> Error Value: __getitem__

Try this for me:

<dtml-in MyPythonScript>
  <dtml-var "_['sequence-item']">
</dtml-in>

and look at what is returned.