[SciPy-user] OpenOpt : how to avoid output

Eli Brosh ebrosh1 at gmail.com
Tue Aug 5 16:09:24 EDT 2008


Hello,
When OpenOpt is called without graphical output as:
 r=p.solve('solver',plot=False)
I still get lots of output to the screen in the python interpreter.
Is it possible to silence this output ?
i.e. to cancel the printing of iterations etc. into the interpreter prompt.

I only need to get the final result and to put it in other variables like
finalf=r.ff
finalx=r.xf

Thanks
Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20080805/2dcc098e/attachment.html>


More information about the SciPy-User mailing list