Hello,<br><br>If I have a buggy file called foo.py and run it in Ipython using<br> %run foo.py<br>ipython will print out an error message. I would like to somehow save this error message.<br>Hence, I would like something similar to sys.exc_info() in iPython. <br>
<br>Any tip?<br><br>Best,<br>Minjae<br>