in {{cookiecutter.repo_name}}/notebooks/my_nb_path.py [0:0]
def sys_path_append(o: Union[str, os.PathLike]) -> None:
posix_path: str = o.as_posix() if isinstance(o, Path) else Path(o).as_posix()
if posix_path not in sys.path:
sys.path.insert(0, posix_path)