-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Make a "python2" alias or rename the "python"cell magic. #5442
Milestone
Comments
Ismael-VC
changed the title
Make a "python2" alias for the "python" magic.
Make a "python2" alias or rename the "python" magic.
Mar 27, 2014
Ismael-VC
changed the title
Make a "python2" alias or rename the "python" magic.
Make a "python2" alias or rename the "python"cell magic.
Mar 27, 2014
takluyver
added a commit
to takluyver/ipython
that referenced
this issue
Mar 27, 2014
That seems reasonable - see PR #5447. |
@takluyver and @minrk thank you! 😄 |
Zaharid
pushed a commit
to Zaharid/ipython
that referenced
this issue
Apr 22, 2014
mattvonrocketstein
pushed a commit
to mattvonrocketstein/ipython
that referenced
this issue
Nov 3, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running under Arch Linux where currently
ipython
uses python 3.3.5 instead of python 2.x, which in order to be used has to be called asipython2
(for python 2.7.6):When using the notebook, I wanted to use some
python2
code, but there are only%%python
and%%python3
cell magics, which in my case are the same, currently I had to paste the code in a markdown cell (to have syntax highlighting) if I want to show it along with thepython3
examples, and then use the%%bash
magic in another code cell to call thepython2
script, example:The text was updated successfully, but these errors were encountered: