Message387450
Running `platform.platform()` on Windows 10 20H2 results in the build number 19041:
Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.platform()
'Windows-10-10.0.19041-SP0'
This is incorrect, the build number is 19042.
Using ctypes like in the answer here produces a correct result:
https://stackoverflow.com/questions/32300004/python-ctypes-getting-0-with-getversionex-function |
|
Date |
User |
Action |
Args |
2021-02-21 10:42:26 | bugale bugale | set | recipients:
+ bugale bugale, paul.moore, tim.golden, zach.ware, steve.dower |
2021-02-21 10:42:26 | bugale bugale | set | messageid: <1613904146.72.0.850542213327.issue43284@roundup.psfhosted.org> |
2021-02-21 10:42:26 | bugale bugale | link | issue43284 messages |
2021-02-21 10:42:26 | bugale bugale | create | |
|