R
Ryan Oltman
Background:
I'm trying to develop some certification software in C/C++ that would
allow engineers/technicians to quickly develop scripts/functions in
Python to verify a product (there could be hundreds of functions per
product). I would like to use SQLite db to store the functions and the
necessary certification reference data.
Question:
I have successfully embedded python code in C/C++ using the
PyEval_CallObject when using a file as the module source,but is it
possible using the PyImport_ImportModule & PyObject_GetAttrString to
point to a non-filesystem source? Is there another way to setup the
PyEval_CallObject that would allow this capability?
Ryan Oltman
I'm trying to develop some certification software in C/C++ that would
allow engineers/technicians to quickly develop scripts/functions in
Python to verify a product (there could be hundreds of functions per
product). I would like to use SQLite db to store the functions and the
necessary certification reference data.
Question:
I have successfully embedded python code in C/C++ using the
PyEval_CallObject when using a file as the module source,but is it
possible using the PyImport_ImportModule & PyObject_GetAttrString to
point to a non-filesystem source? Is there another way to setup the
PyEval_CallObject that would allow this capability?
Ryan Oltman