from pathlib import Path


def source_path(*children) -> Path:
    """
    Get resolved path of a source file (code, asset, etc..) regardless of
    OS and used freezer (pyinstaller & cxfreeze)
    """
    return Path(*children).resolve()