Internal Variables

Daniel Evers daniel.evers at rwth-aachen.de
Fri Nov 11 19:56:35 CET 2005


Hi!

The sys module provides some useful information, e.g.:

builtin_module_names -- tuple of module names built into this interpreter
version -- the version of this interpreter as a string
version_info -- version information as a tuple
hexversion -- version information encoded as a single integer
copyright -- copyright notice pertaining to this interpreter
platform -- platform identifier
executable -- pathname of this Python interpreter
prefix -- prefix used to find the Python library
exec_prefix -- prefix used to find the machine-specific Python library

(from sys.__doc__)
Maybe you can start searching there.

Daniel



More information about the Python-list mailing list