Python Binary and Windows

Fredrik Lundh fredrik at pythonware.com
Mon Feb 7 14:00:46 EST 2005


"peetm" <peet.morris at comlab.ox.ac.uk> wrote:

> I'd like to compile (?) the DiffLib Python code into a binary form that can
> be called by other Windows apps - like, I'd like to compile it into a DLL.
>
> Is this possible?

you can link your DLL (or application) against the Python DLL, and use
the Python API to pass data from C/C++ to Python, and back again.

for details, see the "embedding" sections in

    http://docs.python.org/api/api.html

</F> 






More information about the Python-list mailing list