在windows10的VSCode中的integratedpowershell终端中,我可以键入一个命令,然后在提示符下按向上箭头键重新键入它。在
如何在集成的anaconda Python控制台中获得相同的行为?在
This是一个相关的问题,但不适用于Python控制台。在
以下是复制问题的步骤:
.py
文件ctrl + shift +F
python
PS C:\Users\Fred\Desktop\pandas> python Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
>>>
2+2
+enterup arrow
。发生了什么事。应获取最后一个命令2+2
。在
Python扩展或VS代码都不起任何作用。相反,这与Anaconda提供的Python解释器有关(即,它们不能包含
readline
)。在我想试试
ipython
看看这是否符合你的要求。在相关问题 更多 >
编程相关推荐