platform.python_revision()

platform.python_revision() Returns a string identifying the Python implementation SCM revision.

platform.python_implementation()

platform.python_implementation() Returns a string identifying the Python implementation. Possible return values are: ‘CPython’, ‘IronPython’, ‘Jython’, ‘PyPy’.

platform.python_compiler()

platform.python_compiler() Returns a string identifying the compiler used for compiling Python.

platform.python_build()

platform.python_build() Returns a tuple (buildno, builddate) stating the Python build number and date as strings.

platform.python_branch()

platform.python_branch() Returns a string identifying the Python implementation SCM branch.

platform.processor()

platform.processor() Returns the (real) processor name, e.g. 'amdk6'. An empty string is returned if the value cannot be determined. Note that many platforms do not provide this information or simply return the same value as for machine(). NetBSD does this.

platform.popen()

platform.popen(cmd, mode='r', bufsize=-1) Portable popen() interface. Find a working popen implementation preferring win32pipe.popen(). On Windows NT, win32pipe.popen() should work; on Windows 9x it hangs due to bugs in the MS C library. Deprecated since version 3.3: This function is obsolete. Use the subprocess module. Check especially the Replacing Older Functions with the subprocess Module section.

platform.platform()

platform.platform(aliased=0, terse=0) Returns a single string identifying the underlying platform with as much useful information as possible. The output is intended to be human readable rather than machine parseable. It may look different on different platforms and this is intended. If aliased is true, the function will use aliases for various platforms that report system names which differ from their common names, for example SunOS will be reported as Solaris. The system_alias() function i

platform.node()

platform.node() Returns the computer’s network name (may not be fully qualified!). An empty string is returned if the value cannot be determined.

platform.mac_ver()

platform.mac_ver(release='', versioninfo=('', '', ''), machine='') Get Mac OS version information and return it as tuple (release, versioninfo, machine) with versioninfo being a tuple (version, dev_stage, non_release_version). Entries which cannot be determined are set to ''. All tuple entries are strings.