[New-bugs-announce] [issue45382] platform() is not able to detect windows 11

Alex Zaslavskis report at bugs.python.org
Tue Oct 5 15:43:57 EDT 2021


New submission from Alex Zaslavskis <sahsariga111 at gmail.com>:

I am updated to windows 11 . Now I am trying to write script that will detect is user use windows 11 or windows 10 . 
I was using the simplest way as possible: 
import platform 
print(platform.platform())
The result I got is : Windows-10-10.0.22000-SP0
That is quite correct . The build version is correct ,but the windows version is still not .

----------
components: Library (Lib)
messages: 403260
nosy: sahsariga111
priority: normal
severity: normal
status: open
title: platform() is not able to detect windows 11
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45382>
_______________________________________


More information about the New-bugs-announce mailing list