[Python Ireland] Cocoa and the Python/C API by Rory Geoghegan - Presentation Transcript
Cocoa and the Python/C API
You got some python in my objective-c!
This work is under the public domain, except for whatever parts are explicitly mentioned as released under some more constrictive license (boo).
--Rory Geoghegan
r.geoghegan@gmail.com
Whoosh
It’s fast!
Icon acquired from the Whoosh
Project
Cocoa
Oooh, pretty
PyObjC
Don’t hurt me crazy
dog/snake monster
Icon acquired from the PyObjC
project
O RLY?
Image:
O RLY? by mmechtley. Some rights reser ved.
Get your
cocoa on
PYTHON_HOME &
PYTHON_PATH
virtualenv for teh win!
Image:
Bristol Museum Vs. Banksy, by JasonBlait. Some rights reser ved.
Our Father
Py_Initialize
PyRun_SimpleFile
PyImport_AddModule
PyModule_GetDict
Py_Finalize
Image:
Baird's Rat Snake in mid-shed by mcwetboy. Some rights reser ved.
Py_Object *
It slices, it dices, it
even juliennes!
Image:
NASCAR Duct Tape, in association with 3M, by sneakums. Some rights reser ved
Py_INCREF &
Py_DECREF
Memory leaks!
Hooray!
Image:
Abacus, by Generation X-Ray. Some rights reser ved.
Message
passing in
ObjC
If it talks like a duck,
walks like a duck,
sounds like a duck...
Image:
Baby Duck, by ViaMoi. Some rights reser ved.
0 comments
Post a comment