How to implement key of key in python?

2014-05-09 Thread eckhleung
I'm migrating from Perl to Python and unable to identify the equivalent of key of key concept. The following codes run well, import csv attr = {}

Re: How to implement key of key in python?

2014-05-09 Thread eckhleung
On Saturday, May 10, 2014 10:30:06 AM UTC+8, MRAB wrote: > On 2014-05-10 02:22, I wrote: > > > I'm migrating from Perl to Python and unable to identify the equivalent of > > key of key concept. The following codes run well, > > > import csv > > > attr = {} > > > with open('test.txt','rb') as t