Serdar Tumgoren wrote:
Hi everyone,
I'm working with a database of campaign finance filings, and I'm
trying to create a data structure that captures the fact that:
- there can be multiple races
- races can have multiple candidates
- candidates can have multiple campaign committees
- campaign committees can file multiple reports
I'm trying to pull these records from a database and output them to an
HTML file in sorted order.
I suggest using the ORDER BY SQL Clause rather than trying to sort it in
Python.
[snip]
--
Bob Gailer
Chapel Hill NC
919-636-4239
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor