Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1358
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: LogCtrl, a LOG/RLOG redirector to a DocEdit
Next Topic: "Alternative Multithreading" revisited
Goto Forum:
  


Current Time: Thu May 09 09:06:19 CEST 2024

Total time taken to generate the page: 0.02613 seconds