get_filename_without_extension#
- ansys.aedt.core.generic.file_utils.get_filename_without_extension(input_file: str | Path) str#
Get the filename without its extension.
- Parameters:
- input_file
strorpathlib.Path Path of the file.
- input_file
- Returns:
strName of the file without extension.
Examples
>>> from ansys.aedt.core.generic.file_utils import get_filename_without_extension >>> get_filename_without_extension(r"C:\Projects\Motor\test.aedt")