def sys_path_append()

in notebooks/ipython_config.py [0:0]


def sys_path_append(o: Union[str, os.PathLike]) -> str:
    posix_path: str = o.as_posix() if isinstance(o, Path) else Path(o).as_posix()
    return 'sys.path.append("{}")'.format(posix_path)