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

Extending/Embedding Confusion

2006-08-04 Thread jeremito
I am trying to learn how to extend and/or embed Python. I have looked at the document Extending and Embedding the Python Interpreter and also Python/C API Reference Manual. In the examples shown in Extending... there are some things I ma not familiar with so I turn to the index in the Reference

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 use