[Pythonmac-SIG] CoreGraphics module for python 2.4.1

Michael Hudson mwh at python.net
Tue Sep 13 11:40:36 CEST 2005


"Chris Barker" <Chris.Barker at noaa.gov> writes:

> Nicholas Riley wrote:
>
>>>Apple's python seamed to come with the CoreGraphics module. Can I get 
>>>that same module for python2.4.1 (form undefined.org)? If so, how?
>>>
>>>OS-X 10.3, if it matters.
>> 
>> Nope, the module is closed-source (most likely because it uses
>> CoreGraphics/Cocoa SPI to do crazy stuff enabling you to draw without
>> a windowserver connection).
>
> Darn, but thanks for the info.

You might just be able to use the .so with Python 2.4.  You'll get
warnings, but it will *probably* Just Work (I don't think the C API
changed very much 2.3 -> 2.4).

Cheers,
mwh

-- 
6. The code definitely is not portable - it will produce incorrect 
   results if run from the surface of Mars.
               -- James Bonfield, http://www.ioccc.org/2000/rince.hint


More information about the Pythonmac-SIG mailing list