Use Python library from C++

Robert Kern rkern at ucsd.edu
Thu Nov 25 00:35:24 EST 2004


Chang LI wrote:
> I want to use the Python Libray from my C++ program.
> The Python Libray is no GUI. How can I mix C++ and 
> Python? 
> 
> One way is to run PY library as an independent process.
> Another way is to start PY as a C++ thread. 
> The third way is to run Python engine as part of the C++. 
> Which way is better?
> 
> No intention to access all the Python's code but only 
> access APIs of a module.

Try Elmer.

http://elmer.sf.net

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter



More information about the Python-list mailing list