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

I need to press many times return key to display output in Python Console #3712

Closed
augustosisa opened this issue Nov 20, 2016 · 2 comments
Closed

Comments

@augustosisa
Copy link

augustosisa commented Nov 20, 2016

Description of your problem

What steps will reproduce the problem?

  1. Open Spyder and a Python Console

  2. Write a simple script and run it:
    def main():
    print('First line')
    print('Second line')

    if name == 'main':
    main()

  3. In Ipython console this run succesfully, but in the same spyder session I need to press many times the return key to get a result depending of the size of the scripts and the number of scripts run in the console recently

runfile('E:/googledrive/problem_spyder.py', wdir='E:/googledrive')

First line
Second line

What is the expected output? What do you see instead?

In a previous version I get the output without press return key.

Please provide any additional information below

I just update Anaconda and Spyder, yesterday everithing was fine. So, I suppose that this issue is caused by the new version of spyder or Anaconda

Versions and main components

  • Spyder Version: 3.0.1
  • Python Version: 2.7.12 (Anaconda 32)
  • Operating system: Windows 8.1

Dependencies

Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:

@augustosisa
Copy link
Author

UPDATE:

The number of return keystrokes increases when you execute multiple times the script. After run ten times the script is needed you press ten times the returnkey.

@ccordoba12
Copy link
Member

This is basically a duplicate of issue #1831. Please use the IPython console instead because we're going to disable the Python console on Windows for Spyder 3.1.

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

No branches or pull requests

2 participants