A simple helper module to get details on the current operating system platorm.
Project description
This module provides simple methods for detecting the operating system run by the user.
Install it with
easy_install OSDetect
or
pip install OSDetect
Usage
Example:
>>> import OSDetect >>> info = OSDetect.OSInfo() >>> info.GetInfo() {'Machine': 'x86_64', 'Python': {'implementation': 'CPython', 'version': '2.7.3'}, 'Distribution': ' ', 'OSVersion': '3.6.9-1-ARCH', 'OS': 'Linux'}