Skip to content

Deprecate -e flag for %notebook magic #9872

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

Merged
merged 2 commits into from
Aug 15, 2016

Conversation

takluyver
Copy link
Member

Maybe the magic did something else in the past? Now the -e or --export flag is just confusing.

I've left it in place so it will still work, but have no effect.

Maybe the magic did something else in the past? Now the flag is just
confusing.

I've left it in place so it will still work, but have no effect.
@takluyver takluyver added this to the 5.2 milestone Aug 14, 2016
For example, to export the history to "foo.ipynb" do "%notebook -e foo.ipynb".
To export the history to "foo.py" do "%notebook -e foo.py".
For example, to export the history to "foo.ipynb" do "%notebook foo.ipynb".
To export the history to "foo.py" do "%notebook foo.py".
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think %notebook foo.py won't work, only notebooks can be written.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, removed

@minrk minrk merged commit ba368a2 into ipython:master Aug 15, 2016
Carreau added a commit to Carreau/ipython that referenced this pull request Sep 18, 2016
Maybe the magic did something else in the past? Now the `-e` or `--export` flag is just confusing.

I've left it in place so it will still work, but have no effect.
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

Successfully merging this pull request may close these issues.

2 participants