Global settings#

PyTwin provides global settings for configuring and changing both logging and directory options.

pytwin.PyTwinLogLevel(value)

Provides an enum for choosing the logging level for use by all PyTwin objects.

pytwin.PyTwinLogOption(value)

Provides an enum for choosing the logging option for use by all PyTwin objects.

pytwin.modify_pytwin_working_dir(new_path[, ...])

Modify the global PyTwin working directory.

pytwin.modify_pytwin_logging([new_option, ...])

Modify global PyTwin logging.

Workflow example#

For a workflow example, see User guide.