+ 2
Where does python and C++ relate in desktop apps.
5 Respuestas
+ 4
C++ relies Python on Scripts and Plugins. In a real programming tool, you can link a Python project with a C++ project to 'combine' both together to form a application.
(Just like how you can like CSS and HTML together)
+ 4
There are a lot of them and as far as I know, their code is quite decently long. Go and google it to find those.
And if I am not wrong, to attach a python to C++ file, this is the code :
#include <Python.h>
int main(int argc, char *argv[])
{
Py_SetProgramName(argv[0]);
Py_Initialize();
/*code here*/
Py_Finalize();
return 0;
}
+ 3
@k2 do you mind giving an example of a python script and its use in a desktop app. What will it add to C++ that will make me start learning python script today
+ 2
Thanks alot
0
Could you be more specific