Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python console is not handling raw_input correctly on Windows #2562

Closed
Travis42 opened this issue Jul 23, 2015 · 3 comments
Closed

Python console is not handling raw_input correctly on Windows #2562

Travis42 opened this issue Jul 23, 2015 · 3 comments

Comments

@Travis42
Copy link

Command Window causes raw_input() to malfunction

What steps will reproduce the problem?

  1. program contains x = raw_input('> ')
    print 'You typed ', x
  2. execution from command window produces nothing, user presses enter
  3. output is >You typed
    (exits)

What is the expected output? What do you see instead?
In Powershell, the program works as it should, but in Command Window within Spyder, it gets the order backward, expecting input before any prompt is displayed on the screen.

Please provide any additional information below

Version and main components

  • Spyder Version: 2.3.5.2
  • Python Version: 2.7.6
  • Qt Versions: 4.8.6, PyQt4 (API v2) 4.10.4 on Windows

Optional dependencies

pyflakes >=0.5.0:  0.9.2 (OK)
pep8 >=0.6      :  1.6.2 (OK)
IPython >=1.0   :  3.2.0 (OK)
zmq >=2.1.11    :  14.7.0 (OK)
pygments >=1.6  :  2.0.2 (OK)
pandas >=0.13.1 :  0.16.2 (OK)
sphinx >=0.6.6  :  1.3.1 (OK)
rope >=0.9.2    :  0.9.4 (OK)
jedi >=0.8.1    :  0.8.1 (OK)
matplotlib >=1.0:  1.4.3 (OK)
sympy >=0.7.3   :  0.7.6 (OK)
pylint >=0.25   :  1.4.2 (OK)

@ccordoba12 ccordoba12 changed the title Command Window Python console is not handling raw_input correctly on Windows Jul 23, 2015
@ccordoba12
Copy link
Member

Thanks for reporting. Please try to use an IPython console to see if things work as expected there.

@ccordoba12 ccordoba12 added this to the v3.1 milestone Jul 23, 2015
@Travis42
Copy link
Author

I will...right after I figure out how to import data/commands from the
command line (argv). I've looked for how to do this for hours. I realize
that Spyder is designed for best use with ipython, but I'm just a beginner
user at the moment, doing pre-defined lessons.

Travis

On Fri, Jul 24, 2015 at 6:14 AM, Carlos Cordoba [email protected]
wrote:

Thanks for reporting. Please try to use an IPython console to see if
things work as expected there.


Reply to this email directly or view it on GitHub
#2562 (comment).

@ccordoba12 ccordoba12 removed this from the todo milestone Jun 25, 2017
@ccordoba12
Copy link
Member

Closing because the Python console is going to be removed in Spyder 3.2.

Please see issue #4524 for our reasons to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants