Source code for nbless.helpers.get_stem

from pathlib import PurePath


[docs]def get_stem(input_name: str) -> str: return PurePath(input_name).stem