platform.python_version() returns the version of the Python : platform « Buildin Module « Python Tutorial






print platform.python_version()
14.10.platform
14.10.1.platform.architecture() returns (bits, linkage) tuple
14.10.2.platform.python_version() returns the version of the Python
14.10.3.platform.uname() returns a tuple of (system, node, release, version, machine, processor).
14.10.4.print sys.version