Re: [Zope] Populating a :list variable from the results of a ZSQLmethod

2000-11-10 Thread Tony McDonald
On 10/11/00 10:45 am, "Geir Bækholt" <[EMAIL PROTECTED]> wrote: > > don't know about inside zope, but in plain python you could just do: > > new_options = list(options) > Yup - trying to do it all in DTML though... > perhaps an external method would cut it: > > return list(inputstring) > T

Re: [Zope] Populating a :list variable from the results of a ZSQLmethod

2000-11-10 Thread Tony McDonald
On 10/11/00 10:52 am, "Phil Harris" <[EMAIL PROTECTED]> wrote: > tone, > > How about (untested): > > where 'dboptions' is the string pulled from the DB, and 'options' is the > list needed. > > > > > > > This would then give you take the string "['1','2','3']" and turn it into > the list [