February 2006
Intermediate to advanced
648 pages
14h 53m
English
PYTHON IS BUNDLED WITH A LARGE COLLECTION of modules collectively known as the Python library. Library modules are used simply via an import statement. For example:
import socket
Automatically generated documentation, collected from documentation strings and source code, can be obtained using the pydoc command (executed as a shell command) or the help() command if running interactively in the Python interpreter. For example:
>>> help(re) Help on module re: NAME re - Minimal "re" compatibility wrapper. See "sre" for documentation. FILE /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/re.py MODULE DOCS http://www.python.org/doc/current/lib/module-re.html CLASSES exceptions.Exception ...Read now
Unlock full access