normalize_path#
- ansys.aedt.core.generic.file_utils.normalize_path(input_dir: str | Path, sep: str = None) str#
Normalize path separators.
- Parameters:
- input_dir
strorpathlib.Path Path to normalize.
- sep
str,optional Separator.
- input_dir
- Returns:
strPath normalized to new separator.
Examples
>>> from ansys.aedt.core.generic.file_utils import normalize_path >>> normalize_path(r"C:\Projects\Motor\test.aedt")