MacOS – Core Graphics on a 2013 Mac Mini

importmacospython

My python script imports from quartz.coregraphics. Is core graphics included on 2013 Mac Minis? I ask because import works on macbook pros running snow leopard and mavericks, but fails on a mini from early 2007 running OS 10.5. I don't want to buy a new mini without being sure that the script will work.

Best Answer

Yes. You should be able to still use those packages on Mavericks (10.9) with the stock python (2.7.5)

I have not installed any python packages and both of the following commands work from the python interpreter:

import Quartz
import CoreGraphics

If your import statement is identical to what you listed in your question, then you may have to change the import statement, but those packages appear to still be there.