Yves Glodt wrote: > Hi there, > > I seem to be unable to find a way to appends more keys/values to the end > of a dictionary... how can I do that? > > E.g: > > mydict = {'a':'1'} > > I need to append 'b':'2' to it to have: > > mydict = {'a':'1','b':'2'} > mydict['b'] = '2' -- http://mail.python.org/mailman/listinfo/python-list
- Re: append to the end of a dictionary Juho Schultz
- Re: append to the end of a dictionary Tim Chase
- Re: append to the end of a dictionary Rene Pijlman
- Re: append to the end of a dictionary Yves Glodt
- Re: append to the end of a dictionary Tim Chase
- Re: append to the end of a dictionary Magnus Lycka
- Re: append to the end of a dictionary Paul Rubin
- Re: append to the end of a dictionary Yves Glodt
- Re: append to the end of a dictionary Magnus Lycka
- Re: append to the end of a dictionary Rene Pijlman
- Re: append to the end of a dictionary Steven D'Aprano