[Pythonmac-SIG] Problems with CoreGraphics API post-Snow Leopard

Ronald Oussoren ronaldoussoren at mac.com
Thu Apr 19 11:16:02 CEST 2012


On 17 Apr, 2012, at 17:48, João Leão wrote:

> Hi list
> 
> I have an old script using the CoreGraphics API that's no longer working properly since Snow Leopard.
> I' running Lion with the default Python, which is 2.7.1.
> I googled about this and it seems that's because Python is 64-bit now and some old data types don't work anymore.

Which library do you use? That is, is there "import CoreGraphics" at the top of your file or "import Quartz"?  The former is a Apple library, the latter is part of PyObjC.

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4788 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20120419/7a27c4a9/attachment.bin>


More information about the Pythonmac-SIG mailing list