getting info out of a list.

Cliff Wells clifford.wells at attbi.com
Sun Jun 15 04:51:26 EDT 2003


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, 

-- 
Cliff Wells <clifford.wells at attbi.com>






More information about the Python-list mailing list