spinetoolbox.spine_io.importers.excel_reader¶
Contains ExcelConnector class and a help function.
| author: |
|
|---|---|
| date: | 1.6.2019 |
Module Contents¶
-
spinetoolbox.spine_io.importers.excel_reader.select_excel_file(parent=None)[source]¶ Launches QFileDialog with .xlsx and friends filter
-
class
spinetoolbox.spine_io.importers.excel_reader.ExcelConnector[source]¶ Bases:
spinetoolbox.spine_io.io_api.SourceConnectionTemplate class to read data from another QThread.
-
get_tables(self)[source]¶ Method that should return Excel sheets as mappings and their options.
Returns: Sheets as mappings and options for each sheet or an empty dictionary if no workbook. Return type: dict Raises: Exception– If something goes wrong.
-