[SciPy-user] symbolic math & scipy (& maxima)...

fred fredantispam at free.fr
Mon Aug 7 13:00:47 CDT 2006


Xavier Gnata a écrit :
> Hi,
> 
> I perform the same kind of job with mathematica and python :
> 1) Compute what you want using mathematica/maxima/...
> 2) export the result as text in a syntax as close as possible as python 
> once (mathematica can export to C code for instance)
> 3) Perform tiny modification on the resulting strings so that it 
> corresponds with python syntax.
> 4) use exec() and that's it.
> 
> Maybe it is uglly but it is powerfull and simple ;)
Hmm, yes, I usually proceed like this ;-)
Tricky but it should work.

-- 
Fred.


More information about the SciPy-user mailing list