[IPython-User] PLEASE make autosave standard
Thu Nov 8 14:08:56 CST 2012
On Wed, Nov 7, 2012 at 8:47 AM, Thomas Kluyver <firstname.lastname@example.org> wrote:
> On 7 November 2012 16:39, Zoltán Vörös <email@example.com> wrote:
>> So, would you like to have a snapshot of the kernel history, then? Because
>> that could, perhaps, be handled in the kernel, and the frontend doesn't
>> matter in that case... But the kernel history is already saved somewhere, if
>> I am not mistaken.
> You're not mistaken. There's an SQLite history database in the profile
> directory. What we don't yet have are any tools for the user to access it.
> That would be a good standalone project if anyone is interested - the API is
> there, it just needs an interface. There's a brief description at
And here's a quick two-liner:
ip = get_ipython()
for entry in ip.history_manager.get_tail(100): print entry
that will print the last 100 lines of input history from the last session.
More information about the IPython-User