[IPython-dev] ipipe news

Ville Vainio vivainio at gmail.com
Wed Mar 1 11:24:56 CST 2006


Is there an easy way to create a Table "casually", without declaring
any classes?

I'm thinking of api like

t = Table('name','address')

t.add(name='foo',address = 'bar')
t.add(name='hello',address = 'world')

or perhaps even create it with list/tuple of dicts/arbitrary objects
and try to do __getitem__, and failing that, getattr for 'name' and
'address' for every object in sequence.




More information about the IPython-dev mailing list