> Slightly off-topic, but if I'm writing code here thought it > would be useful to know: what is a good reference for > Python C API? Do you want something like "Extending and Embedding the Python Intepreter"? http://docs.python.org/ext/ext.html Not sure of any offline references like that, LetterRip