# - - - - - I m p o r t s
sys module is used for retrieving
command line arguments.
We also need the
os module for
manipulating path names.
xnomo3 module is from xnomo3: A system for
representing bird taxonomy. It is used to sort
bird types into phylogenetic order.
We'll also need the
module, which contains the
import abbr as abbrModule
birdimages module is described in
An XML-based image cataloging system. It
represents cataloged images.
archindex module is described in
archx: A program to index a photo
from archindex import *
The tool we use to generate XHTML is the
etbuilder module described in Python XML processing with lxml. The
et module is
E is an element factory;
CLASS is a
function used to attach CSS
subElement is a function for adding child
addText is a function that adds
text content to an element.
from etbuilder import et, E, CLASS, subElement, addText