SOME STANDARD MODULES IN PYTHON
The Python Standard Library provides many modules that can simplify your own Python scripts. A list of the Standard Library modules is here:
Some of the most important Python modules include cgi, math, os, pickle, random, re, socket, sys, time, and urllib.
The code samples in this book use the modules math, os, random, re, socket, sys, time, and urllib. You need to import these modules in order to use them in your code. For example, the following code block shows you how to import four standard Python modules:
import datetime import re import sys import time
The code samples in this book import one or more of the preceding modules, as well as other Python modules.