Open zmughal opened 9 years ago
I asked a question about execution semantics of the "single" mode here http://mail.scipy.org/pipermail/ipython-dev/2015-January/015764.html.
You can set the mode if you are using Python by setting the interactivity parameter of run_ast_nodes():
interactivity
import IPython.core.interactiveshell as intshell intshell.InteractiveShell.ast_node_interactivity = 'last' # ‘all’, ‘last’, ‘last_expr’ or ‘none’,
From the mailing list thread, this is not controllable from the front-end and should be left up to the language back-end.
I asked a question about execution semantics of the "single" mode here http://mail.scipy.org/pipermail/ipython-dev/2015-January/015764.html.
You can set the mode if you are using Python by setting the
interactivity
parameter of run_ast_nodes():