getting info out of a list.

Jim Richardson warlock at eskimo.com
Sun Jun 15 22:20:48 CEST 2003


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

On 15 Jun 2003 01:51:26 -0700,
 Cliff Wells <clifford.wells at attbi.com> wrote:
> On Sun, 2003-06-15 at 01:38, Jim Richardson wrote:
>> I have the following code 
>> 
>> for wires in wirelist.keys():
>>         bits=wirelist[wires]
>>         Wire=("GW",wires,bits)
>>         print Wire
> 
> Does this do what you want?
> 
> for wires in wirelist.keys():
>     bits=wirelist[wires]
>     Wire=("GW",wires) + bits
>     print Wire
> 
> Regards, 
> 

Yes, that was the bit I missed, the addition, thanks to all. 

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

iD8DBQE+7NUfd90bcYOAWPYRAvFjAKCy/5LWvZ4TgwaPIdbFHpMfQUkAgwCeMk6s
ijpM73bRDMat/i3Vubk3LNY=
=SbHq
-----END PGP SIGNATURE-----

-- 
Jim Richardson         http://www.eskimo.com/~warlock

Linux, because eventually, you grow up enough to be trusted with a fork()




More information about the Python-list mailing list