PyOS Detect your OS with Python This simple python script identifying your os by using platform.system(). Read more about platform library here Run it from a terminal: Python3: curl -s https://github.com/sk3pp3r/PyOS/master/pyos.py | python3 -