read_csv#

ansys.aedt.core.generic.file_utils.read_csv(input_file: str | Path, encoding: str = 'utf-8') list#

Read information from a CSV file and return a list.

Parameters:
input_filestr or pathlib.Path

Full path and name for the CSV file.

encodingstr, optional

File encoding for the CSV file. The default is "utf-8".

Returns:
list

Content of the CSV file.