# - - - - - I m p o r t s
We need the sys module for the standard
output stream.
import sys
The pycbc
module is our interface to the CBC database.
import pycbc
The cbchistlib module contains various utility functions
for this application suite.
import cbchistlib as lib
The topform.py module defines constants related to the form
on the top-level page. It is also used by regx.cgi to
retrieve the submitted form values.
import topform
The tccpage2
module sets up a standard page style and navigational
links. Because we refer to this module often, its name here
is abbreviated as tp.
import tccpage2 as tp
We use the etbuilder module to construct the XHTML output.
from etbuilder import et, E, CLASS, subElement