In Python, how can I remove an object from array of objects? Like this:
x = object() y = object() array = [x,y] # Remove x
I\'ve tried
del array[0]
where 0 is the index of the object in the list (there is no array in python)
0