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://raw.githubusercontent.com/sk3pp3r/PyOS/master/pyos.py | python3 -