Next / Previous / Contents / Shipman's homepage

6.1. Prologue

The code for the pathinfo.py module starts with the conventional Python documentation string.

pathinfo.py
"""pathinfo.py:  Object to represent a snapshot of a file's status.

  Do not edit this file directly.  It is mechanically extracted
  from the documentation:
    http://www.nmt.edu/~shipman/soft/pathinfo/
"""

Next comes the importation of the standard Python modules we use:

pathinfo.py
#================================================================
# Imports
#----------------------------------------------------------------

import os, stat, time