Projects / PyHtmlTable


PyHtmlTable is a class for Python CGIs to generate HTML tables on the fly. It allows you to set individual row and cell attributes via arbitrary dictionaries, and span rows and columns. It autogrows the table if cells are set outside its initial range. It allows dynamic insertion of new rows and columns anywhere in the table, and allows bulk population of table data via arrays to arbitrary locations in the table. It also provides default cell attributes for tablewide uniformity and the ability to override these on a cell-by-cell basis. PyHtmlTable is intended to be a functional equivalent to or Table.php.

Operating Systems

Recent releases

  •  24 Jul 2003 17:23

    Release Notes: A minor requested change was made: when only colspan and or rowspan is set, the cell being generated now acquires the default cell attributes.

    •  12 Jun 2003 18:45

      Release Notes: This release has shorthand to make less verbose method calls. All method calls have both long names and short ones to preserve backward compatibility with older versions. Tarball packaging has been changed to be more directory/version friendly. There are a few other minor fixes.

      •  01 May 2003 01:27

        Release Notes: Better handling of null table inserts.

        •  23 Apr 2003 01:54

          Release Notes: Minor enhancements and some minor bugfixes were made. Shortcuts were added to method names, and more graceful handling of Null inserts into the table was added.

          •  12 Mar 2003 23:53

            Release Notes: A fix for a slight logic error with setCellColspan.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.