- Joined
- 3/21/08
- Messages
- 593
- Points
- 38
Microsoft Visual Studio Community 2022 / Version 17.1.1
does anyone know how to install #include <Python.h>
Properties/path/environment ?
I have already installed Python Development Environment / Python Version Version: 3.9
my aim is to call python functions from C/C++ code
C++:
#include "stdafx.h"
#include <Python.h>
/***********START***************/
int main(){
PyObject* pInt;
Py_Initialize();
PyRun_SimpleString("print('Hello World from Embedded Python!!!')");
Py_Finalize();
return 0;
}
does anyone know how to install #include <Python.h>
Properties/path/environment ?
I have already installed Python Development Environment / Python Version Version: 3.9
my aim is to call python functions from C/C++ code
Last edited: