◐ Shell
clean mode source ↗

Message 411696 - Python tracker

I don't understand why we have to handle XML or JSON and encoding... just to get a version number. Why did Microsoft make it so complicated?

sys.getwindowsversion() which exposes GetVersionEx() looks fine to me.