title: redirecting integration error to file, python
body: <p>I am using odeint from scipy.itegrate in python. Sometimes I get integrating errors like,</p>
  
  <blockquote>
    <p>lsoda--  at current t (=r1), mxstep (=i1) steps<br>
           taken on this call before reaching tout<br>
          in above message,  i1 =       500
          in above message,  r1 =  0.4082154636630D-03</p>
  </blockquote>
  
  <p>I would like to NOT print those errors on the screen. Is there any way to print them directly to some error file? I just don't want them to be printed on the screen as I am printing something else there in big loop, and automatically to the result file.
  Thanks </p>