3 Jun
2004
3 Jun
'04
6:02 p.m.
From: "Asad Habib" <ahabib@engin.umich.edu>
Hello. Thanks for your help but what I was referring to is the Python function 'del'. Just like 'append' can be called from a DTML method/document to add to a variable of type list (e.g. <dtml-call "myList.append()">), can 'del' be called in a similar way?
I think what you are looking for is: <dtml-call "myList.remove(avar)"> where 'avar' contains the item that you want removed from the list (myList). Jonathan