Python and TK possible with MacOS X ?

Jacob Kaplan-Moss jacobkm at
Fri Feb 1 03:35:31 EST 2002

Hendrik --

One way to do it is by installing XDarwin (XFree86 for OS X) and the *nix
versions of Python and Tkinter.  You can do this quite easily using Fink
<>.  I've writen a quick tutorial on how to get a
working Tkinter on OS X.  You can find it at:


If you have any questions, please feel free to email me.


In article <3C59A411.9020103 at>, Hendrik Maeder
<maederh at> wrote:

> Hi everyone,
> I`d love to use python to create some GUI apps for MacOS X.
> I downloaded a standard python 2.2 and compiled it, however, using 
> Tkinter is not possible under OS X, it needs an X server like XDarwin. 
> Unfortunately this is not an option, I need native-OS-X-TK... :-(
> MacPython unfortunately has Tkinter support only under MacOS <9.x. The 
> Carbon version (OS X) just says "no module named Tkinter".
> However, there IS a native recent TK port available from Apple.
> Seems to consists of some dynamic libraries, nothing more.
> Does anyone know if it is possible to get this to work with OS X?
> Or does anybody know some workaround or other portable modules for GUI 
> programming that work with OS X?
> Thank you very much,
> Hendrik

More information about the Python-list mailing list