O'Reilly logo

Python: Essential Reference, Third Edition by David Beazley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Python Services

The following modules provide additional services related to the execution of the Python interpreter. Many of these modules are related to parsing and compilation of Python source code.

ModuleDescription
codeopCompiles Python code
compileallByte-compiles Python files in a directory
disDisassembler
distutilsDistribution of Python modules (see Chapter 27)
fpectlFloating-point exception control
impProvides access to the implementation of the import statement
keywordTests whether a string is a Python keyword
linecacheRetrieves lines from files
modulefinderFinds modules used by a script
parserAccesses parse trees of Python source code
pickletoolsTools for pickle developers
pkgutilPackage extension utility
pprintPrettyprinter for objects
pyclbr

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required