1 | initial version |
The source can be found in the SAGE_ROOT/src/sage/repl/
directory, in particular interpreter.py
.
2 | No.2 Revision |
The source can be found in the SAGE_ROOT/src/sage/repl/
directory, in particular interpreter.py
.
EDIT : if you want to run ipython interpreter from Python's one, (and then Sage), you can do:
>>> import IPython
>>> IPython.embed()
Python 2.7.15 (default, Jul 23 2018, 10:39:00)
Type "copyright", "credits" or "license" for more information.
IPython 5.5.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: %load_ext sage
In [2]: 2^2
Out[2]: 4
In [3]: sin(x)
Out[3]: sin(x)
3 | No.3 Revision |
The source can be found in the SAGE_ROOT/src/sage/repl/
directory, in particular interpreter.py
.
EDIT : if you want to run ipython interpreter from Python's one, (and then Sage), Sage the way you suggested), you can do:
>>> import IPython
>>> IPython.embed()
Python 2.7.15 (default, Jul 23 2018, 10:39:00)
Type "copyright", "credits" or "license" for more information.
IPython 5.5.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: %load_ext sage
In [2]: 2^2
Out[2]: 4
In [3]: sin(x)
Out[3]: sin(x)