python application dll

dongarbage at hotmail.com dongarbage at hotmail.com
Tue Nov 20 09:09:28 EST 2007


On Nov 19, 2:28 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
wrote:
> En Sat, 17 Nov 2007 12:04:49 -0300, <dongarb... 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

How do you linke Python directly with C++? This could be a
consideration for me if it is possible to call a C++-based dll from
C#. That leads to my next question which might not be appropriate for
a python newsgroup, but what the heck: Is it possible to call a C++-
based dll from C#?



More information about the Python-list mailing list