[Tutor] Python - html tables - cgi question
Tue, 4 Dec 2001 13:04:59 -0600 (CST)
Hi All - Strictly speaking this is more of a html/cgi question but I really
want to use Python to do it!
I have a text file with tab delimited data in it. I want to present it as an
html table that's in sorted order. Each column heading I'd like to be a
clickable link so that when I click on it, the table regenerates resorted
under the column clicked on.
I can get Python cgi to display a static list with no links only sorted by a
pre-chosen column. How do I go do the next step to let the viewer decide how
the table is to be sorted?
For what it's worth I'm using Apache 1.3.14 under Linux 2.2.16 using Python
1.5.2. The python code I'm using so far is really basic so I'm up to learning
something new to get this to work as I'd like to generalize it more...