New submission from Alex Zaslavskis <sahsariga...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue45382> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com