Re: [Pythonmac-SIG] PyObjC - Apple sample code

2017-05-07 Thread Ronald Oussoren
> On 2 May 2017, at 13:47, Ben Byram-Wigfield wrote: > > I reinstalled python 2.7.13 from a fresh downloaded .pkg, and used pip to > reinstall PyObjC, but I still get the same errors. > Do the Quartz example scripts work on python 3 ? The example work with both python 3 and python 2.7. Ronal

Re: [Pythonmac-SIG] PyObjC - Apple sample code

2017-05-07 Thread Ben Byram-Wigfield
Sorry, this just isn’t working for me. I’ve installed Python 3; I’ve reinstalled PyObjC using pip; and I’m still getting syntax errors when I run the script. line 177, in createMyOperatorTable Quartz.CGPDFOperatorTableSetCallback(myTable, b"Do", myOperator_Do) ValueError: depythonifying 'poi