Re: Extending/Embedding Confusion

2006-08-08 Thread Chris Lambacher
Depending on what you are trying to do you might be better off to start by using Pyrex, Boost::Python or Swig. http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ http://www.boost.org/libs/python/doc/ http://www.swig.org/ -Chris On Fri, Aug 04, 2006 at 11:51:14AM -0700, jeremito wrote: > I

Re: Extending/Embedding Confusion

2006-08-04 Thread Jane & Carl
I'm going through a bit of this myself.   What I've found useful is downloading the source to Python and comparing modules that I use a lot that are written in C (in my case datetime) and see how they are coded.  Also, if I am thinking of using a C API function to do something, I grep or us