Next / Previous / Contents / Shipman's homepage

4.3. Modules required

Aside from the standard Python sys module that gives programs access to their standard I/O streams and command line arguments, the program needs the etree library from the lxml module.

litlxml
import sys
from lxml import etree