Chang LI wrote:[color=blue]
> "Chris S." <chrisks@NOSPAM.udel.edu> wrote in message news:<ukgpd.12554$Vy.6850@trndny06>...
>[color=green]
>>zhao wrote:
>>
>>[color=darkred]
>>>Try boost.python and SWIG?
>>>(boost.sourceforge.net, swig.sourceforge.net)
>>>
>>>Both provide a interface between C/C++ and python
>>>if you want gui under python, you also can try wxpython or pygtk[/color]
>>
>>I thought SWIG ported C/C++ libraries to Perl, Python, Ruby, Tcl, etc?
>>How would you use it to port Python into C/C++?
>>[/color]
>
>
> SWIG is for Python to use C++. I am searching for in reverse.[/color]
Elmer is the reverse of SWIG, and should be easier to use than using the
Python C API itself. Elmer will handle the conversion of types between
Python and C++ and will expose a nice API on the C++ side.
--
Robert Kern
Join Bytes!
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter