The easiest way to keep your histories separate is to use a different profile.<div>So if you start your notebooks with:</div><div><br></div><div>`ipython notebook --profile=nb`</div><div><br></div><div>Then your notebooks will share a history, but not with your default IPython sessions.<br>

Hello all,<br>
<br>
First: I still love ipython and use it all the time and want to kiss it<br>
and hug it and name it George.<br>
<br>
I hope I haven&#39;t missed something obvious, but I haven&#39;t been able to<br>
find an answer for this. I use both the notebook and terminal depending<br>
on the task, and I&#39;m wondering if there&#39;s a setting that separates their<br>
histories. I pretty much never want to run notebook cells in the<br>
terminal, and the notebook history is a) blowing away the terminal<br>
history I want to save and re-run b) more or less useless since I have<br>
the commands saved in a notebook anyway, and c) if the history I want<br>
hasn&#39;t been blown away by a stroke of luck, the back arrow history is<br>
littered with notebook cells I have no interest in running. I&#39;m running<br>
0.13 with a nearly standard default config (diffs provided on request).<br>
<br>
Thanks very much for any advice,<br>
<br>
Gavin<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</blockquote></div><br></div>