Type this in the Macro window and press the Run button:
import vanilla
help(vanilla.List)
What you want is probably the myList.remove(thisItem)
method.
Also, take a look at how you implement the variables. You can initialise class variables in init
, but you need to prefix them with self.