Next / Previous / Contents / TCC Help System / NM Tech homepage

12. cbchistlib.py: Imports

cbchistlib.py
# - - - - -   I m p o r t s

import sys

We need the math module to do stastical calculations.

cbchistlib.py
import math

The openDatabase() function needs access to the pycbc module.

cbchistlib.py
import pycbc

We need some items from the etbuilder module to build XHTML.

cbchistlib.py
from etbuilder import CLASS, subElement, E, addText

The tccpage2 module sets up standardized XHTML page navigation style.

cbchistlib.py
import tccpage2 as tp

The fosox module is for XSL-FO generation.

cbchistlib.py
import fosox as fo

Two service routines, Section 52, “anchorName(): Format a page anchor” and Section 53, “latLonKey(): Generate the lat-lon key for a given circle”, need items from the regform module.

cbchistlib.py
import regform

We need the companion library of xnomo3, abbr.py. To avoid confusion with local variables named abbr, we import it as abbrMod.

cbchistlib.py
import abbr as abbrMod