Hi there

http://ironalbatross.net/wiki/index.php5/CPP_BOOST_STACKLESS_PYTHON
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).

Greetings

Phil

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

Hi

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

David

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to