TPD-Keys/Helpers/os_check.py
TPD94 6b52e6ecf0 v1.31
Added Udemy support, added PSSH parse for CLI
2024-01-22 20:47:58 -05:00

10 lines
230 B
Python

import os
def get_os_specific():
if os.name == 'nt': # 'nt' stands for Windows
return "Windows"
elif os.name == 'posix': # 'posix' stands for Linux/Unix
return "Linux"
else:
return "Unknown"