小编Ped*_*dro的帖子

使用 Python 获取当前的 Windows 11 版本

在 Python 3.8.10 中,我无法获得正确的 Windows 版本,我正在运行 Windows 11 Insider Preview,但输出显示为 Windows 10

漏洞

有什么解决方法吗?

编辑:目前我发现检测 W11 的唯一方法是

wmic os get name
Run Code Online (Sandbox Code Playgroud)

python windows-11

3
推荐指数
1
解决办法
2432
查看次数

标签 统计

python ×1

windows-11 ×1