c# application calling Scipy

Robert Kern robert.kern at gmail.com
Sat Jan 6 18:46:17 EST 2007


dongarbage at hotmail.com wrote:
> 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?

scipy is a package with many C and FORTRAN extensions, so IronPython won't work
unless someone has figured out a magic way to compile them. The Enthought
distribution (disclosure: I work for Enthought) is just a bundling of the normal
python.org distribution of Python with a bunch of packages; it knows nothing
about C#. I know little about Python for .NET beyond its README, but it does
seem to be able to embed CPython into a C# application and with some elbow
grease, that might work for you.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list