Does anyone know if I can import modules from a python library and use them in C.
How can I do this?
Many thanks
Does anyone know if I can import modules from a python library and use them in C.
How can I do this?
Many thanks
Of course.
Code:Py_Initialize(); PyObject *my_module = PyImport_Import("this"); ... Py_Finalize();
thanks Brafil