Table of Contents
os
io
time
argparse
optparse
getopt
logging
logging.config
logging.handlers
getpass
curses
curses.ascii
curses.panel
platform
platform.architecture()
platform.dist()
platform.java_ver()
platform.libc_ver()
platform.linux_distribution()
platform.mac_ver()
platform.machine()
platform.node()
platform.platform()
platform.popen()
platform.processor()
platform.python_branch()
platform.python_build()
platform.python_compiler()
platform.python_implementation()
platform.python_revision()
platform.python_version()
platform.python_version_tuple()
platform.release()
platform.system()
platform.system_alias()
platform.uname()
platform.version()
platform.win32_ver()
errno
ctypes
platform.
python_version
Returns the Python version as string ‘major.minor.patchlevel’
Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to 0).