read_configuration_file#

ansys.aedt.core.generic.file_utils.read_configuration_file(input_file: str | Path) Dict | List#

Parse a file and return the information in a list or dictionary.

Parameters:
input_filestr or pathlib.Path

Full path to the file. Supported formats are "csv", "json", "tab", "toml", and "xlsx".

Returns:
Union[Dict, List]

Dictionary if configuration file is "toml" or "json", List is "csv", "tab" or "xlsx".