JD wrote: > Hello, > > I try to remove a dictionary key-pair (remove an entry), > but I'm unsuccessful. Does anyone know how to achieve this? > > Thanks
Assuming you know the key:
d = {"foo":1,"bar":2}
print d
del(d["foo"])
print d
--
http://mail.python.org/mailman/listinfo/python-list
