📅  最后修改于: 2022-03-11 14:47:14.046000             🧑  作者: Mango
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