Skip to content

Instantly share code, notes, and snippets.

@allfro
allfro / osx_tkinter_workaround.py
Created March 26, 2012 03:03 — forked from CodeSturgeon/osx_tkinter_workaround.py
Tkinter activation workaround
#!/usr/bin/env python
## This script demonstrates a workaround for the Tkinter (Tcl/Tk?) activation
## bug under OS X. More on that here:
from easygui import msgbox
from subprocess import Popen
from Tkinter import Tk
## Bring easygui to foreground