[Newbie] embed c++ in Python

David Abrahams david.abrahams at rcn.com
Tue Apr 2 02:53:07 EST 2002


Boost.Python uses just C++ and Python.
www.boost.org/libs/python/doc/index.html

"Matthias Stern" <mstern at aon.at> wrote in message
news:3ca95375$0$3698$6e365a64 at newsreader02.highway.telekom.at...
> > > I want to know how to write a function which receives some variables
as
> > > argument changes them and sends the results back to Python.
>
> Thank you for the links I got (http://www.scipy.org/site_content/weave
>  and http://www.acl.lanl.gov/siloon/ ). I've visited the sites and
> discovered a new problem: Both solutions require some additional
> stuff to be installed. Maybe it's much simpler to use them but it
> is quite hard to add some additional stuff like this to our project. It's
> a cross-platform project with many operating systems and we want as
> little additional programs as possible.
>
> So I have to ask again: is it possible to do this without any additional
> installations ("pure" Python 2.2) ? (L ike the "spam" example on the
Python
> Homepage) Has anyone a simple example code or link for this?
>
> Thx, Mac
>
>





More information about the Python-list mailing list