a1fred / oscheck

Check python platform information in runtime-safe way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyPI version Build Status Coverage Status

Check python platform information in runtime-safe way

import oscheck

if oscheck.family() == oscheck.OS_LINUX:
  do_some_staff()
elif oscheck.family() == oscheck.OS_WINDOWS:
  do_other_staff()

...

About

Check python platform information in runtime-safe way

License:MIT License


Languages

Language:Python 100.0%