anton muhin wrote: > > And just my two cents: your for loop could be rewritten a little bit > more effeciently and (IMHO) clearly: > > for wires, names in wirelist.iteritems(): > Wire = ("GW", wires) + bits > print Wire With a now-undefined name "bits" ... ;-)