Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

save state of qtconsole #1486

Closed
timmie opened this issue Mar 10, 2012 · 2 comments
Closed

save state of qtconsole #1486

timmie opened this issue Mar 10, 2012 · 2 comments
Milestone

Comments

@timmie
Copy link

timmie commented Mar 10, 2012

htmlnotebook has this neat feature that the status of the norebook can be saved to *.ipynb

Could this be added to qtconsole as well, know that the application is not a webpage?

I am thinking like "hibernating" a console sesssion.

@takluyver
Copy link
Member

It doesn't really make as much sense with a console-like interface. In the notebook, if you make a mistake, you go back and correct it, so you end up with just the code that's worked. If you make a mistake in a console, you try the code again, so the session includes all the code you've entered, whether or not it worked.

There's a few things it can do: you can export the Qt console session as HTML, you can use %save to make a Python file from it, or %notebook to make a .ipynb file. We're also considering a way to save and restore the namespace you're working in (see #1035 and #112).

@timmie
Copy link
Author

timmie commented Mar 10, 2012

Thanks for assisting.
OK closing here, then.

@timmie timmie closed this as completed Mar 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants