c# application calling Scipy
Hi, Novice here. :) I'm building a c# application and I want to call functions in SciPy from that application. What's the best way to call SciPy methods from a C# program? Is there a best Python implementation for this? Ironython? Python for .NET? Enthought? Thanks in advance, Don -- http://mail.python.org/mailman/listinfo/python-list
python application dll
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 -- http://mail.python.org/mailman/listinfo/python-list
Re: python application dll
On Nov 19, 2:28 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sat, 17 Nov 2007 12:04:49 -0300, <[EMAIL PROTECTED]> 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#? -- http://mail.python.org/mailman/listinfo/python-list
Re: python application dll
On Nov 19, 3:49 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] 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"? -- http://mail.python.org/mailman/listinfo/python-list
