[C++-sig] Wanted: Examples of boost.python embedded usage

Philip Jonientz - NEXPLORE AG pj at nexplore.ch
Tue Jul 20 13:40:33 CEST 2010

Hi there

This one is actually with stackless python, but he's using the same boost.python you would use with standart cpython.
If you skip the whole setting up part for linux there are some samples on how to create function wrappers and so on...
This tutorial really helped me(Even if this is stackless python I think it might help you too).



Von: cplusplus-sig-bounces+pj=nexplore.ch at python.org [mailto:cplusplus-sig-bounces+pj=nexplore.ch at python.org] Im Auftrag von David Aldrich
Gesendet: Dienstag, 20. Juli 2010 13:26
An: cplusplus-sig at python.org
Betreff: [C++-sig] Wanted: Examples of boost.python embedded usage


I am new to boost.python ( and to Python ) and need to demonstrate embedding Python code in a C++ application.

I would like to pass data to a Python function from C++ and retrieve the result.

Please can anyone suggest a tutorial that would show me how to do this please?

Best regards


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20100720/df85d7c2/attachment.html>

More information about the Cplusplus-sig mailing list