Accessing c objects in python

Duncan Booth duncan at NOSPAMrcp.co.uk
Fri Aug 8 09:45:49 EDT 2003


Thomas Heller <theller at python.net> wrote in news:smocwafb.fsf at python.net:

> Would you care to write a more detailed summary of your findings? This
> would probably make a good page in the main Python wiki...
> 

I did an evaluation of the various ways to link to Python for the ACCU 
conference this year, although I must say my conclusion was slightly 
different than Alex's: I would use Pyrex in preference to SWIG even if I 
didn't want to embed much code in the interface.

You can find a paper describing my views at:

http://dales.rmplc.co.uk/Duncan/accu/integratingpython.html

The slides and source code for the talks are also on the same site. See 
http://dales.rmplc.co.uk/Duncan/accu

-- 
Duncan Booth                                             duncan at rcp.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?




More information about the Python-list mailing list