[Python-ideas] Determine Windows version in platform module
M.-A. Lemburg
mal at egenix.com
Fri Dec 27 19:38:53 CET 2013
On 27.12.2013 19:18, Giampaolo Rodola' wrote:
> 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.
Have you had a look at the documentation ?
http://docs.python.org/2.7/library/platform.html?highlight=platform#windows-platform
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/
More information about the Python-ideas
mailing list