<div class="gmail_quote">On 3 August 2011 16:02, Gökhan Sever <span dir="ltr"><<a href="mailto:gokhansever@gmail.com">gokhansever@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Thanks for the answer Thomas. Is there a way to dump the sqlite database to a text file? Since time-stamping automatically added in the database, I don't see a particular reason for using another logging mechanism.</div>
</blockquote><div><br>There's no tool for that at present, but if you feel like writing one, it shouldn't be too complex. The file is .ipython/profile_default/history.sqlite. You can extract timestamps from the session table, and then use the session number to select rows from the history table (and the output_history table if you've turned on output logging as well). In fact, you might be able to import IPython.core.history to handle loading the database.<br>
<br>Thanks,<br>Thomas<br></div></div>