Get platform information

Get platform information

platform.architecture() returns (bits, linkage) tuple.


import 
print platform.architecture()

platform.python_version() returns the version of the Python.


print platform.python_version()

platform.uname() returns a tuple of (system, node, release, version, machine, processor).


print platform.uname()




















Home »
  Python »
    Language Basics »




Python Basics
Operator
Statements
Function Definition
Class
Buildin Functions
Buildin Modules