Next / Previous / Contents / Shipman's homepage

4.2. The prologue

The script starts with the usual Python prologue. The first line makes the script self-executing. This is followed by minimal comments pointing to the online form of the literate programming document, and the Cleanroom intended function for the program as a whole.

litdocbook5
#!/usr/bin/env python
#================================================================
# litdocbook5:  Extract literate programs from DocBook-XSL 5.0 files.
# Version 2.1, 2015-08-12
#
#   Do not edit this file directly.  It is extracted mechanically
#   from the documentation:
#     http://www.nmt.edu/~shipman/soft/litdocbook5/
#----------------------------------------------------------------