This module relies on several Python library modules.
First, we'll need all the standard trig functions and other
math from the math module.
#================================================================ # Imports #---------------------------------------------------------------- from math import *
Next, we'll need the Python regular expression module.
import re
Python's standard datetime module, available
since Python version 2.3, contains a full set of function
for manipulating dates and times. There are references to
this module's datetime, date,
and time objects throughout this module.
Refer to the online documentation for datetime.
import datetime