📜  在 python 代码示例中获取处理器模型

📅  最后修改于: 2022-03-11 14:47:14.046000             🧑  作者: Mango

代码示例1
import platform

print(platform.system())  # e.g. Windows, Linux, Darwin
print(platform.architecture())  # e.g. 64-bit
print(platform.machine())  # e.g. x86_64
print(platform.node())  # Hostname
print(platform.processor())  # e.g. i386