spinetoolbox.main

Provides the main() function.

Module Contents

Functions

main()

Creates main window GUI and starts main event loop.

_make_argument_parser()

Returns a command line argument parser configured for Toolbox use.

_add_pywin32_system32_to_path()

Adds a directory to PATH on Windows that is required to make pywin32 work

Attributes

dirname

plugin_path

spinetoolbox.main.dirname[source]
spinetoolbox.main.plugin_path[source]
spinetoolbox.main.main()[source]

Creates main window GUI and starts main event loop.

spinetoolbox.main._make_argument_parser()[source]

Returns a command line argument parser configured for Toolbox use.

Returns

Toolbox’ command line argument parser

Return type

ArgumentParser

spinetoolbox.main._add_pywin32_system32_to_path()[source]

Adds a directory to PATH on Windows that is required to make pywin32 work on (Conda) Python 3.8. See https://github.com/spine-tools/Spine-Toolbox/issues/1230.