Display the results of a query to an html table

Marco Nawijn nawijn at gmail.com
Tue Aug 19 11:04:56 EDT 2008


On Aug 19, 4:35 pm, Amie <sthembileng... at gmail.com> wrote:
> Hi,
> how do you display the results of an sql query and display it onto the
> html form or html table
>
> Thanks

Hello,

You might want to take a look at:
    sqlobject http://www.sqlobject.org/
or
    sqlalchemy http://www.sqlalchemy.org/

These can assist in translating SQL query results into Python objects.

For generating the html forms and tables out of the sql results data
you
can try:
    genshi: http://genshi.edgewall.org/
    kid: http://www.kid-templating.org/

I hope this helps.

Marco



More information about the Python-list mailing list