mirror of
https://github.com/RGBCube/CSAssignments
synced 2025-06-19 12:32:09 +00:00
8 lines
246 B
Python
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
|