PyCharm python console - ipython magic output

Recently, I started using PyCharm to develop some python under Win10. I'm still struggling to find a better configuration with consoles.

I have ipython enabled in the PyCharm built-in console, but it does not always work like regular ipython. The most annoying feature is that pinfo /? Output magic is not displayed properly:

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

In the normal ipython console, I get, as expected,

 In [1]: a=123 In [2]: a? Type: int String form: 123 Docstring: int(x=0) -> integer [...] 

Is there any way to change this behavior? Or a way to connect PyCharm to an external console running, for example, ConEmu?

I am using PyCharm 2017.1.4, python 3.5.3, PyCharm calls ipython 5.3.0 there.

+5
source share

Source: https://habr.com/ru/post/1268976/


All Articles