Python/platform: Difference between revisions
< Python
Jump to navigation
Jump to search
No edit summary |
|||
| Line 12: | Line 12: | ||
|} | |} | ||
== Informations on Win10 with Python 3.8.1 x86 version == | == Informations on Win10 64bits with Python 3.8.1 x86 version == | ||
<source lang="python"> | <source lang="python"> | ||
print(platform.architecture()) | print(platform.architecture()) | ||
Latest 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 64bits 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