The update method updates one dictionary with the items of another: : Update « Dictionary « Python Tutorial






d = { 
'title': 'Python Web Site', 
'url': 'http://www.python.org', 
'changed': 'Mar 14 22:09:15 MET 2005'

 } 
x = {'title': 'Python Language Website'} 
d.update(x) 
print d








8.25.Update
8.25.1.The update method updates one dictionary with the items of another:
8.25.2.update() can be used to add the contents of one directory to another.