read_toml#
- ansys.aedt.core.generic.file_utils.read_toml(input_file: str | Path) dict#
Read a TOML file and return as a dictionary.
- Parameters:
- input_file
strorpathlib.Path Full path to the TOML file.
- input_file
- Returns:
dictParsed TOML file as a dictionary.
Examples
>>> from ansys.aedt.core.generic.file_utils import read_toml >>> read_toml(r"C:\Temp\settings.toml")