Python/platform
< Python
Jump to navigation
Jump to search
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