Examples of embedding python in a c++ application.
common
some helper functions
helloworld/
from http://realmike.org/blog/2012/07/08/embedding-python-tutorial-part-1/, calling python sub from c++
classes
from https://www6.software.ibm.com/developerworks/education/l-pythonscript/l-pythonscript-ltr.pdf, example using instances
duplex
from http://realmike.org/blog/2012/07/05/supercharging-c-code-with-embedded-python/, calling python function from c++, which calls c++ function
http://www.codeproject.com/Articles/11805/Embedding-Python-in-C-C-Part-I http://www.linuxjournal.com/article/8497?page=0,0
Official stuff: http://docs.python.org/2/extending/index.html
Tested with ubuntu, g++
You need to have the package python-dev
installed