python application dll

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Nov 19 02:28:18 EST 2007


En Sat, 17 Nov 2007 12:04:49 -0300, <dongarbage at hotmail.com> escribi�:

> Is there a way to create a .dll from a python program which includes
> the python runtime?
>
> I'm building a Windows application (C# VisualStudio2005) and I'd like
> to utilize some of the functionality available in a Python module. For
> my users who install my Windows application, I'd prefer that they not
> have to install the entirety of Python on their machines.

I think that linking Python directly with C# isn't easy; Python + C++ OTOH  
is a lot easier.
Another approach is to have a Python *application* (.exe) running; you may  
communicate the two with virtually any available IPC mechanism. You can  
use py2exe to generate the .exe

-- 
Gabriel Genellina




More information about the Python-list mailing list