Jupyter:IPython中输出多个变量

2018-08-16  本文已影响82人  ACphart

In  [1]: from IPython.core.interactiveshell import InteractiveShell
         InteractiveShell.ast_node_interactivity = 'all'
In  [2]: a = [1, 2, 3]
         a
         a+a
Out [2]: [1, 2, 3]
Out [2]: [1, 2, 3, 1, 2, 3]
上一篇下一篇

猜你喜欢

热点阅读