Tkinter and OS X 10.3?

Russell E. Owen no at spam.invalid
Mon Jan 5 19:53:51 CET 2004

In article <7ba1cb43.0312301205.30156acf at>,
 parki at (Brian Parkinson) wrote:

>I have tried to get Tkinter working on my Mac (OS X 10.3). I installed
>MacPython 2.3 and the TclTkAquaBI-
>When I type:
>import Tkinter
>r = Tkinter.Tk()
>I get a window all right, but clicking on the window causes the
>following error:
>SetFrontProcess failed,-606
>the window can't properly get focus.
>Had same problem when I tried the example Tk application that comes
>with nltk (Natural Language Toolkit).
>Any ideas?

You are almost certainly typing python instead of pythonw at the 
terminal prompt. This results in exactly the error described. (I'm not 
sure why there are two commands instead of python doing whatever extra 
magic pythonw does.)

-- Russell

More information about the Python-list mailing list