[Python-ideas] Determine Windows version in platform module

Serhiy Storchaka storchaka at gmail.com
Fri Dec 27 19:58:19 CET 2013


27.12.13 20:18, Giampaolo Rodola' написав(ла):
> Today I was looking for a way to determine whether I was on Windows >=
> Vista and couldn't find anything so I came up with this [1].
>
> That led me to think about platform module.
> Honestly I can't see the usefulness of it as it doesn't give you any
> usable API to figure out what platform version you're on.
> As such would something like [1] be acceptable for inclusion?
>
> [1]
> http://stackoverflow.com/questions/12471772/what-is-better-way-of-getting-windows-version-in-python/20804735#20804735

See also funny issue19143 (http://bugs.python.org/issue19143).



More information about the Python-ideas mailing list