我想创建一个python脚本来检查用户的机器外形(笔记本电脑或台式机),然后我就可以使用这样的条件: chassis_type = some_module.get_chassis_type() print("You are out of luck, because you are using laptop.") print("You are good to go, because you are usin
我试过"dmidecode命令“,但它不包含完整的信息 [root@myhost ~]# dmidecode -t 202Getting SMBIOS data frompresent.# fully supported by this version of dmidecode如何让它正常工作?我需要安装任何软件包吗?