python application dll

dongarbage at hotmail.com dongarbage at hotmail.com
Tue Nov 20 15:12:04 CET 2007


On Nov 19, 3:49 pm, Larry Bates <larry.ba... at websafe.com> wrote:
> dongarb... at hotmail.com wrote:
> > Hi,
>
> > 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.
>
> > Thanks much,
> > D
>
> Turn the Python program into a COM object instead.  Then it can be dispatched by
> any programming language and distributed after bundling with py2exe.
>
> -Larry

OK, I'm a newbie and not sure how to create/call COM objects. This is
probably not a question for a python newsgroup, but what the heck: How
do you turn a python program into a COM object? And, what does it mean
to be "dispatched"?



More information about the Python-list mailing list