debug

In lieu of printing to stdout, these functions can be used to print to the screen.

tanmatsu.debug.set_output_widget(ow)

Set the output widget for calls to print().

tanmatsu.debug.print(s: str)

Output string s to the output widget. This widget must support the append() method (e.g., tanmatsu.widgets.TextLog).