$ ipython
Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 11:07:29)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.5.0 An enhanced Interactive Python. Type '?' for help.
In [1]: " ".join(['a', 'b', 'c'])
Out[1]: 'a b c'
In [2]: _
Out[2]: 'a b c'
In [3]: _1
Out[3]: 'a b c'
In [4]: __
Out[4]: 'a b c'
In [5]: _
Out[5]: 'a b c'
In [6]: _1
Out[6]: 'a b c'
您可以使用终端仿真器的工具来实现这一点。你知道吗
在Python本身中,没有这样的功能,但是可以为IPythonhere's one for Linux and MacOS添加一个用户提供的魔术命令。你知道吗
使用ipython终端。。你知道吗
相关问题 更多 >
编程相关推荐