Re: Opinion on Pyrex

2005-09-30 Thread Don
Carl wrote: > I have recently started to use Pyrex and am amazed by it's useability. > > Are there any alternatives to Pyrex? > > One thing that I haven't figured out is how to embed pure C/C++ source > code into Pyrex. For example, if you have a bunch of C files that you want > to use together

Re: Opinion on Pyrex

2005-09-30 Thread Lisandro Dalcin
That's the reason I am using SWIG http://www.swig.org For C++ classes, you can get a working Python module autmatically. It also has advanced features, like "directors", enablig subclassing from Python (to be used in de C++ side). However, I should warn you SWIG is not as friendly as Pyrex. But

Re: Opinion on Pyrex

2005-09-30 Thread Robert Kern
Carl wrote: > I have recently started to use Pyrex and am amazed by it's useability. > > Are there any alternatives to Pyrex? > > One thing that I haven't figured out is how to embed pure C/C++ source code > into Pyrex. For example, if you have a bunch of C files that you want to > use together

Re: Opinion on Pyrex

2005-09-30 Thread George Sakkis
"Carl" <[EMAIL PROTECTED]> wrote: > I have recently started to use Pyrex and am amazed by it's useability. > > Are there any alternatives to Pyrex? > > One thing that I haven't figured out is how to embed pure C/C++ source code > into Pyrex. For example, if you have a bunch of C files that you wan

Opinion on Pyrex

2005-09-30 Thread Carl
I have recently started to use Pyrex and am amazed by it's useability. Are there any alternatives to Pyrex? One thing that I haven't figured out is how to embed pure C/C++ source code into Pyrex. For example, if you have a bunch of C files that you want to use together with some Python code snip