Hi,
I have two dictionaries
dict1={'B8': set(['I8', 'H8', 'B2', 'B7', 'F8', 'C9', 'G8', 'B4',
'B5', 'B6', 'C8', 'E8', 'D8', 'B3', 'A9', 'A8', 'C7', 'B9', 'A7',
'B1']), 'B9': set(['I9', 'H9', 'A7', 'F9', 'B3', 'B6', 'G9', 'B4',
'B5', 'C9', 'B7', 'E9', 'B1', 'B2', 'D9', 'A9', 'A8', 'C8', 'B8',
'C7'
On Jun 12, 2:10 am, James Stroud <[EMAIL PROTECTED]> wrote:
> anush shetty wrote:
> > Hi,
> > I have two dictionaries
>
> > dict1={'B8': set(['I8', 'H8', 'B2', 'B7', 'F8', 'C9', 'G8'
On Jun 12, 1:50 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Mon, 11 Jun 2007 17:24:26 -0300, anush shetty
> <[EMAIL PROTECTED]> escribió:
>
>
>
> > Hi,
> > I have two dictionaries
>
> > dict1={'B8': set(['I8
>
> Working from your original dict1:
>
> dout = [[dict2[i], [dict2[k] for k in setvalue]]
> for i,setvalue in dict1.iteritems()]
>
> - Paddy
I dont think this works.
--
http://mail.python.org/mailman/listinfo/python-list