[Python Ireland] Cocoa and the Python/C API by Rory Geoghegan
1. 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
2. Whoosh
It’s fast!
Icon acquired from the Whoosh
Project
7. PYTHON_HOME &
PYTHON_PATH
virtualenv for teh win!
Image:
Bristol Museum Vs. Banksy, by JasonBlait. Some rights reser ved.
8. 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.
9. Py_Object *
It slices, it dices, it
even juliennes!
Image:
NASCAR Duct Tape, in association with 3M, by sneakums. Some rights reser ved
10. Py_INCREF &
Py_DECREF
Memory leaks!
Hooray!
Image:
Abacus, by Generation X-Ray. Some rights reser ved.
11. 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.