platform
platform — Access to underlying platform’s identifying data
Source code: Lib/platform.py
Note
Specific platforms listed alphabetically, with Linux included in the Unix section.
1. Cross Platform
-
platform.architecture(executable=sys.executable, bits='', linkage='')
-
Queries the given executable (defaults to the Python interpreter binary) for various architecture information.
Returns a tuple
(bits, linkage)
which contain information about the bit architecture and the linkage format used for the executable. Both valu