[SciPy-user] evaluating a really long, multiline expression

Robert Kern robert.kern at gmail.com
Wed Nov 23 17:27:26 CST 2005

Ryan Krauss wrote:
> Robert,
> Do you remember how to get the output of maxima's fortran command to
> dump to a file?  I can only get it to print to the screen, and that
> isn't going to work for me.

>From memory, no, but googling suggests that you should try something
like this:

with_stdout ("myprogram.f", my_fortran_output_stuff (a, b, c));

Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter

More information about the SciPy-user mailing list