Home » Developing U++ » UppHub » PythonPP - tiny C++ wrappers for Python C API
Re: PythonPP - tiny C++ wrappers for Python C API [message #31896 is a reply to message #31894] |
Tue, 05 April 2011 02:50   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
A simple example of calling Python from C++:
#include <PythonPP/PythonPP.h>
#include <PythonPP/PythonPP_emb.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
pythonpp::Engine eng;
eng.ExecuteStr("print 'Hello World!'");
}
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Fri May 02 20:02:22 CEST 2025
Total time taken to generate the page: 0.03425 seconds
|