I am using gvim in interaction with IPython 0.12 on a linux box.
I would like to see the output of my *.py script displayed in the Ipython console, but I haven’t managed to tweak the parameters accordingly.
Typically if I write something like
print sum([1,2 3])
I would expect the result to display in the console. Actually I only get a message displayed in the lower vim area giving an input number for the execution (In[2] say). But the display In[1] wouldn’t change in the Ipython konsole.
Thanks for insight.
I’m one of the IPython developers, and wrote vim-ipython (from which you’re using
ipy.vim).The behavior you are seeing is simply a wanted feature that has not been implemented in IPython yet: ipython console, ipython qtconsole, and the web notebook do not currently print activity that they did not initiate. See the discussion on issue #1873 for this planned feature enhancement.
The
In[]prompt will get update once you actually try to send a new command in ipython’s qtconsole.