Re: stupid newbie question

jandyman <[email protected]> Wed, 6 Jan 2016 07:27:10 -0800 (PST)
Newsgroups gmane.comp.python.ipython.user
Message-ID <[email protected]>
So, is the behavior below what is expected? Certainly the behavior of the
recall command is not what I expected. I've included the header for version
information.

Python 3.4.2 |Continuum Analytics, Inc.| (default, Oct 21 2014, 17:42:20) on
darwin (64 bits).
This is the IEP interpreter with integrated event loop for PYSIDE.

Using IPython 2.4.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: x = 234 + 5467

In [2]: %hist -g 5467
   1: x = 234 + 5467
   2: %hist -g 5467

In [3]: %recall 1     /* nothing at all happens, I expected to be able to
edit command line */

In [4]: In[1]          
Out[4]: 'x = 234 + 5467'     /* this worked, but executed immediately. I
want to edit first */

In [5]: 



--
View this message in context: http://python.6.x6.nabble.com/stupid-newbie-question-tp5180869p5180947.html
Sent from the IPython - User mailing list archive at Nabble.com.