Extending/Embedding Confusion

Chris Lambacher chris at kateandchris.net
Tue Aug 8 15:05:18 EDT 2006


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 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 Manual, but they are not listed.  For
> example, PyEval_CallObject and PyDict_GetAttrString.  My question is
> this: Is the documentation out of date or is the index not complete?
> Where can I get information about these things?
> 
> Secondly, I am really struggling with understanding how to Extend/Embed
> Python.  The examples given in the documentation are not as helpful as
> I would hope.  Does anyone know of additional examples on the web that
> will shed some light on this issue?  I have tried Google, but haven't
> yet been successful in finding additional examples that help.
> Thanks,
> Jeremy
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list