[PIPython] concatenare dizionari

Nicola Larosa nico
Ven 19 Nov 2004 15:16:41 CET


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Esiste un modo per ottenere
> {"a":1, "b":2, "c":3, "d":4}
>
> facilmente a partire dai due dizionari separati?

Si, leggere la documentazione: ;^)

a.update(b)


- --
Nicola Larosa - nico a tekNico.net

"When replying to a message, include enough original material
to be understood but no more. It is extremely bad form to simply
reply to a message by including all the previous message: edit out
all the irrelevant material." -- S. Hambridge, RFC 1855


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAGOSDXv0hgDImBm4RAlWiAJ9RDs83Q0vx+ljMBy7m6WsmdTGJdgCgslQI
1q8579KOPP7HK7x8WVdIJiw=
=J4A6
-----END PGP SIGNATURE-----



More information about the Python mailing list