[Pythonmac-SIG] Imported carbon C lib not allowed if using Tkinter?

Jack Jansen Jack.Jansen@oratrix.com
Thu, 27 Jun 2002 12:19:10 +0200


On donderdag, juni 27, 2002, at 02:59 , Sung H. Kim wrote:

> I have a Python extension question.
>
> Python script imports a C library (a carbonized lib), and that 
> python script also uses Tkinter. Not allowed? Thank you.

This is indeed not possible, unfortunately. Tkinter does not 
work under the Carbon model on OS9. I've spent weeks on a 
solution but didn't find any, so I think it's a lost cause.

Your best bet is probably to see if the library you need is 
available under OSX and move there. Python on OSX (not MacPython 
but the normal distribution, also known as MachoPython on this 
mailing list) works reasonably well with Aqua Tk.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- 
Emma Goldman -