Version 3 of How to ensure my Windows or MacOS Tk process has a console

Updated 2002-11-07 15:34:02

[... catch { console show } ...]

This gives you a toplevel where stdout and stderr go, and you can also interact with the Tcl interpreter.


The menu page has a piece of code that you can use to add a 'Show Console' operation to the system menu. It's a handy thing to have in any Tk application.