1
Fork 0
mirror of https://github.com/RGBCube/CSAssignments synced 2025-06-19 12:32:09 +00:00
CSAssignments/interactive_runner/constants.py
2022-11-05 21:16:42 +03:00

8 lines
246 B
Python

__all__ = ("ROOT", "OS")
from os import name as os_name
from pathlib import Path
from typing import Literal
ROOT = Path(__file__).parent.parent
OS: Literal["windows"] | Literal["unix"] = "windows" if os_name == "nt" else "unix" # type: ignore