Re: [Zope] How to update list from dtml?

2006-04-14 Thread Lennart Regebro
On 4/14/06, Jaroslav Lukesh [EMAIL PROTECTED] wrote: Dear Zopistas, How to do in DTML something similar in python: foo[1] = 3.5 You call a python file that does it. Really, you don't want to start doing those things in DTML, it just gets very complicated very fast. -- Lennart

Re: [Zope] How to update list from dtml?

2006-04-14 Thread Jonathan
Try: dtml-call foo.append(3.5) Jonathan - Original Message - From: Jaroslav Lukesh [EMAIL PROTECTED] To: zope@zope.org Sent: Friday, April 14, 2006 10:22 AM Subject: [Zope] How to update list from dtml? Dear Zopistas, How to do in DTML something similar in python: foo[1] =

RE: [Zope] How to update list from dtml?

2006-04-14 Thread Jaroslav Lukesh
From: Jonathan [mailto:[EMAIL PROTECTED] Try: dtml-call foo.append(3.5) I need to insert that at specific position, not append at end of the list. Thanks, JL. - Original Message - From: Jaroslav Lukesh [EMAIL PROTECTED] foo[1] = 3.5 In DTML this does not work:

RE: [Zope] How to update list from dtml?

2006-04-14 Thread Andreas Jung
--On 14. April 2006 18:40:46 +0200 Jaroslav Lukesh [EMAIL PROTECTED] wrote: From: Jonathan [mailto:[EMAIL PROTECTED] Try: dtml-call foo.append(3.5) I need to insert that at specific position, not append at end of the list. A look at a basic Python tutorial documentation will tell you