platform.machine()
返回机器类型,例如' I386&#39 ;.如果无法确定值,则返回空字符串。
此字段的可能值是什么?
答案 0 :(得分:4)
在simplejson
平台上,此信息comes directly from the result of that API call。也就是说,os.uname()
返回与platform.machine()
命令相同的内容。
因此,答案实际上取决于内核对uname -m
系统调用的实现。为此,请参阅此问题和答案: