[IPython-User] Does ipython dev 1.0 support input()?

Dennis Daniels dennisgdaniels@gmail....
Thu Mar 14 06:58:54 CDT 2013


With this code in ipython notebook I get a lambda error(see below)

quest = input("What is your quest?")

If yes, what is wrong with the code above?

Thank you
Dennis


Error below:
---------------------------------------------------------------------------
StdinNotImplementedError                  Traceback (most recent call last)
<ipython-input-12-d02d2848b4f7> in <module>()
----> 1 quest = input("What is your quest?")

/usr/local/lib/python3.2/dist-packages/ipython-1.0.dev-py3.2.egg/IPython/kernel/zmq/ipkernel.py
in <lambda>(prompt)
    352             raw_input = lambda prompt='': self._raw_input(prompt,
ident, parent)
    353         else:
--> 354             raw_input = lambda prompt='' : self._no_raw_input()
    355
    356         if py3compat.PY3:

/usr/local/lib/python3.2/dist-packages/ipython-1.0.dev-py3.2.egg/IPython/kernel/zmq/ipkernel.py
in _no_raw_input(self)
    737         """Raise StdinNotImplentedError if active frontend doesn't
support
    738         stdin."""
--> 739         raise StdinNotImplementedError("raw_input was called, but
this "
    740                                        "frontend does not support
stdin.")
    741

StdinNotImplementedError: raw_input was called, but this frontend does not
support stdin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130314/72788108/attachment.html 


More information about the IPython-User mailing list