11 Jun
2001
11 Jun
'01
12:31 p.m.
It works now, thanks. It seems that with me trying everything I can think of, I have at some stage typed: <dtml-in "MyPythonScript"> I can see now that there's a big difference between the quotes and the no-quotes version. I'm not sure exactly when you would use quotes and when not, but at least I'll know to look for something like this next time. Thanks again, Andreas. Erik Enge wrote:
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.