I figured it out.  I wasn't converting the value from maxima.solve()
back to string.  Thanks for looking at the code.

On Aug 31, 2:54 pm, Jason Grout <[email protected]> wrote:
> Mikie wrote:
> > Using this function in a Python script
>
> > def MSolveSys(syss):
> >    eqns=eval(syss)
> >    solns=maxima.solve(eqns)
> >    return solns
>
> > I am getting "Malformed expression".
>
> > When I use it the notebook no problem
>
> Can you post a complete example (with the equations you are using and
> the call to MSolveSys) that we can paste into our sage session to see
> this error?
>
> Thanks,
>
> Jason
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to