RE: how to join two Dictionary together?
- From: Michael.Coll-Barth@xxxxxxxxxxxxxxxxxxx
- Date: Tue, 30 Aug 2005 11:02:14 -0400
update works like append for lists
a = {}
a['a']='a'
a['c']='c'
b={}
b['b'] = 'b'
c={}
c.update(a)
c.update(b)
-----Original Message-----
From:
python-list-bounces+michael.coll-barth=verizonwireless.com@xxxxxxxxxx
[mailto:python-list-bounces+michael.coll-barth=verizonwireless.com@pytho
n.org]On Behalf Of DENG
Sent: Tuesday, August 30, 2005 10:45 AM
To: python-list@xxxxxxxxxx
Subject: how to join two Dictionary together?
dict1={...something...}
dict2={...somethind else ..}
dict1 + dict2
that's does works ..:(, it's not like List...
anyone can tell me how to get it?
thanks in advance
--
http://mail.python.org/mailman/listinfo/python-list
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
.
- Follow-Ups:
- Re: how to join two Dictionary together?
- From: Iain King
- Re: how to join two Dictionary together?
- From: DENG
- Re: how to join two Dictionary together?
- Prev by Date: Re: how to join two Dictionary together?
- Next by Date: Re: Code run from IDLE but not via double-clicking on its *.py
- Previous by thread: Re: how to join two Dictionary together?
- Next by thread: Re: how to join two Dictionary together?
- Index(es):
Relevant Pages
|
|