MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How do i call a function written in mathematica from python

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39760] Re: How do i call a function written in mathematica from python
  • From: Daniel Reeves <dreeves at umich.edu>
  • Date: Thu, 6 Mar 2003 02:35:52 -0500 (EST)
  • Organization: University of Michigan Engineering
  • References: <b4412u$1ah$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

When I have to do that sort of thing, I put the mathematica code in a MASH 
script and then python/perl/whatever can call it like any other unix 
utility (opening a pipe).

MASH: http://ai.eecs.umich.edu/people/dreeves/mash

--- \/   FROM Anand AT 03.03.05 05:14 (Today)   \/ ---

> Hi,
>       someone has written a complex curvefitting in mathematica. I
> would like to call the mathematica function from python. To my
> understanding, the mathematica expects probably a path to where a
> bunch of text files are and will ouput the result as a file in the
> same directory.I have no experience with mathematica. Thanks for your
> help in advance.
> 
> Anand.
> 

-- 
Daniel Reeves  --  http://ai.eecs.umich.edu/people/dreeves/      

"The modern conservative is engaged in one of humanity's oldest 
exercises in moral philosophy; that is, the search for a superior 
moral justification for selfishness." -- John Kenneth Galbraith




  • Prev by Date: Functional differentiation on lattice
  • Next by Date: Re: How do i call a function written in mathematica from python
  • Previous by thread: How do i call a function written in mathematica from python
  • Next by thread: Re: How do i call a function written in mathematica from python