Next / Previous / Contents / TCC Help System / NM Tech 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.

#!/usr/bin/env python
# litsource:  Extract code from literate-programming source files.
#   For documentation, see:
# Overall intended function:
#   [ output files named in input files given on the command line
#         :=  code fragments designated for those files
#     sys.stderr  +:=  error messages if any ]