Help with Scons

2008-01-11 Thread anush
Can anybody tell how I could go about running python scripts with scons. -- http://mail.python.org/mailman/listinfo/python-list

Re: Link Dictionary

2007-06-11 Thread anush shetty
> > 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

Re: Link Dictionary

2007-06-11 Thread anush shetty
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&#x

Re: Link Dictionary

2007-06-11 Thread anush shetty
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'

Link Dictionary

2007-06-11 Thread anush shetty
'7', 'G3': '2', 'G2': '0', 'G1': '0', 'I1': '0', 'C8': '0', 'I3': '5', 'E5': '0', 'I5': '1', 'C9': '0', 'G9': '0', 'G8': '0', 'A1': '0', 'A3': '3', 'A2': '0', 'A5': '2', 'A4': '0', 'A7': '6', 'A6': '0', 'C3': '1', 'C2': '0', 'C1': '0', 'E6': '0', 'C7': '4', 'C6': '6', 'C5': '0', 'C4': '8', 'I9': '0', 'D8': '0', 'I8': '0', 'E4': '0', 'D9': '0', 'H8': '0', 'F6': '8', 'A9': '0', 'G4': '6', 'A8': '0', 'E7': '0', 'E3': '0', 'F1': '0', 'F2': '0', 'F3': '6', 'F4': '7', 'F5': '0', 'E2': '0', 'F7': '2', 'F8': '0', 'D2': '0', 'H1': '8', 'H6': '3', 'H2': '0', 'H4': '2', 'D3': '8', 'B4': '3', 'B5': '0', 'B6': '5', 'B7': '0', 'E9': '8', 'B1': '9', 'B2': '0', 'B3': '0', 'D6': '2', 'D7': '9', 'D4': '1', 'D5': '0', 'B8': '0', 'B9': '1', 'D1': '0'} Now I want to create a dict which would have both the keys and values to be of the corresponding values of dict2. Something like this: Eg. The first key in dict1 i.e. B8 as 0 (0 is the value of B8 in dict2) mapped as set(['0','0','0',...]). Can anyone help me out with this. - Anush -- http://mail.python.org/mailman/listinfo/python-list