Hello,
> I am using the below C code so that i can embed a Python Code and
> get input from a python function and use it in C code .
>
> Below is the C Code
[snipped]
> I am getting error
>
> AttributeError: 'module' object has no attribute 'print'
> Cannot find function "print"
How do
Hi ,
I am using the below C code so that i can embed a Python Code and
get input from a python function and use it in C code .
Below is the C Code
#include
int
main(int argc, char *argv[])
{
PyObject *pName, *pModule, *pDict, *pFunc;
PyObject *pArgs, *pValue;
int i;
if