PyCharm python控制台ipython magic outpu

2024-05-19 12:02:51 发布

您现在位置:Python中文网/ 问答频道 /正文

我最近开始在Win10下使用PyCharm进行一些python开发。我仍然在努力寻找控制台的最佳配置。在

我在内置的PyCharm控制台中启用了ipython,但它并不总是像普通ipython一样工作。最讨厌的特性是pinfo/?魔法无法正常显示:

In[1]: a=123
In[2]: ?a
{'text/plain': "Type:        int\nString form: 123\nDocstring:  \nint(x=0)[...]

在一个普通的ipython控制台中,正如预期的那样

^{pr2}$

有没有办法改变这种行为?或者将PyCharm连接到运行在ConEmu中的外部控制台的方法?在

我使用的是PyCharm 2017.1.4、python3.5.3,PyCharm调用了ipython5.3.0。在


Tags: textinformtypeipython魔法特性内置

热门问题