I have a list like this:
l = [{'username': u'bob', 'id': 2L, 'email': u'bob@me.com'}, {'username': u'jane', 'id': 3L, 'email': u'jane@me.com'}]
So I'm wondering what is the best way to remove the bob
object from the list?
I know how to use remove()
to eliminate an element, but not sure to eliminate a whole object.