Re: [Tutor] implementing a table data structure in python?

2004-12-21 Thread Thomas Clive Richards
On Wednesday December 22 2004 11:58 am, Alan Gauld wrote: > > Hows about a dictionary of lists. A key per column. The > users pick which columns and you retrieve the lists. And > of course shelve will treat a file like a dictionary... > Ahhh that's better.. I guess I should clarify: it's not

[Tutor] implementing a table data structure in python?

2004-12-20 Thread Thomas Clive Richards
Hi, I'm trying to implement a reasonably efficient table data structure, but ith a few quirks... The application I'm building is a CGI program which allows users to view a large table of data. In addition, users can restrict the data shown. Some sample data might look like this: (note you'll