Re: Debugging embedded python
a double."}, 23 {NULL, NULL, 0, NULL} 23 }; 24 25 //___ 26 // Main program 27 int main(int argc,char** argv) 28 { 29 Py_Initialize(); 30 Py_InitModule("fotis", FotisMethods); 31 PyRun_SimpleString("from fotis import root"); 32 FILE* fp=stdin;
Debugging embedded python
, 0, NULL} }; int main(int argc,char** argv) { Py_Initialize(); Py_InitModule("fotis", FotisMethods); PyRun_SimpleString("from fotis import root"); PyRun_SimpleString("print \"Testing embedded python...\""); FILE* fp