infi.winver

get windows version


License
BSD-3-Clause
Install
pip install infi.winver==1.0.3

Documentation

Overview

A module for determining Windows version

Usage

from infi.winver import Windows
win = Windows()
win.is_windows_2003() and win.is_x64()

Checking out the code

To check out the code for development purposes, clone the git repository and run the following commands:

easy_install -U infi.projector
projector devenv build

Python 3

Python 3 support is experimental and untested at this stage.