Ask Your Question

Revision history [back]

If your question is

then one solution is

from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"