d={}d[k]= vdel d[k]# Will error if doesn't existd["key"]d.get('key', 'defaultValue')d.pop(k, None)#get and pop, allows you to remove without checking for existence
Iteration
#For Python 2.xfor key, value in d.iteritems():#For Python 3.x:for k, v in d.items():for v in d.values():for k in d.keys():lambdax: x.values()[0]