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)
> 
The code that Chris Withers sent out might be the way to do it, but you've
got to be careful of the eval()...

def eval_options(self):
    return eval(self.REQUEST['options'])


Thanks for the thoughts Geir
Tone

------
Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 222 5116
A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/zope


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to