Python 术语表
在 Python 中有几个内置模块,你可以随时导入它们。
导入并使用 platform 模块:
platform
import platform x = platform.system() print(x)
亲自试一试