Next / Previous / Contents / Shipman's homepage

5. Module imports

tracecase
# - - - - -   M a n i f e s t   c o n s t a n t s

To ease the eventual transition to Python 3.x dialogues, we use the print() function in preference to the print statement of Python 2.x. Imports from the __future__ module must precede all other imports.

tracecase
from __future__ import print_function

We need the sys model for access to the command line arguments and the standard I/O streams.

tracecase
import sys

We also use the re regular expression package.

tracecase
import re