Search code examples
pythonpython-idle

Python IDLE: Tabbing Between Windows


Is there a way to cycle through the open windows in Python's IDLE? It seems like the only way to do this is either go to the menu bar, or to click on the window you want. Thanks.


Solution

  • On Mac OS X, if you are using an IDLE from a Python linked with an Aqua Cocoa Tcl/Tk 8.5, then the standard keyboard shortcut Command + ` (backtick on US keyboards) cycles through the application's open windows. Those would include recent 64-bit/32-bit Pythons (2.7.x, 3.2.x, and 3.3.x) downloaded from python.org (and, as noted there, you should install ActiveTcl if possible due to instabilities with the Apple-supplied Tcl/Tk 8.5 in recent OS X releases.) The 32-bit-only Pythons for older versions of OS X link with Tcl/Tk 8.4 which does not support this.