Python/platform: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
| platform.python_implementation() || CPython
| platform.python_implementation() || CPython
|}
|}
== Informations on Win10 with Python 3.8.1 x86 version ==
<source lang="python">
print(platform.architecture())
print(platform.machine())
print(platform.node())
print(platform.platform())
print(platform.processor())
print(platform.release())
print(platform.system())
print(platform.version())
('32bit', 'WindowsPE')
AMD64
{{Computer Name}}
Windows-10-10.0.18362-SP0
Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
10
Windows
10.0.18362
</source>

Revision as of 03:45, 28 May 2020

Informations on macOS with homebrew python 3.7

function value
platform.system() Darwin
platform.macheine() x86_64
platform.processor() i386
platform.python_implementation() CPython

Informations on Win10 with Python 3.8.1 x86 version

print(platform.architecture())
print(platform.machine())
print(platform.node())
print(platform.platform())
print(platform.processor())
print(platform.release())
print(platform.system())
print(platform.version())

('32bit', 'WindowsPE')
AMD64
{{Computer Name}}
Windows-10-10.0.18362-SP0
Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
10
Windows
10.0.18362