Use Python library from C++

zhao bearsprite at gmail.com
Fri Nov 26 04:11:55 CET 2004


swig is a interface of C/C++ to python, but not in reverse.

In term of python document, there are extend and embed, and your need
is embed.

below is a short tutorial, maybe helpful:
http://tutorials.impereonsoft.com/python/extemb.html

if you work in windows, and you have install pywin32 package, it expose
a com interface of python  interpreter,
so you also can use python's script or module in your application by
this interface.
if you use BCB,  you can use a VCL component name "Python for Delphi".




More information about the Python-list mailing list