Python console options (spyder)

Donnla -  
 gudu -
Hello,

I am currently working with Spyder (Python 3.6) and I am encountering a problem: when I type instructions in the console, I have to press enter multiple times before getting a response.

In other words, I would like to configure the Spyder console to return the answer immediately when I type an instruction. As it stands, I have to press enter three times to get the answer to 2+2... and several dozens of times to run programs that read text files.

Thank you for your answers.

Configuration: Windows / Edge 14.14393

1 answer

Felice_ Posted messages 271 Status Member 11
 
If you don't like using the imperative, you can also write your code in files and execute them...

It's simpler, and you can correct your mistakes when there are any...
1
Donnla
 
Thank you for responding, but that's not what I wanted to know; I believe I expressed myself poorly:

When I try to execute my program (made in the program section on the left), the console part announces that the program is running, but I have to spam the enter key in the console part to get the results.
I checked and it doesn't come from the calculation time, since even the operation 2+2 requires this spamming.

What I want, therefore, is to no longer have to spam, to have an automatic display of the answer after the command.

Thank you for your responses.
0
gudu > Donnla
 
You should check what environment you are in, and which version of Spyder you have.

A similar problem to yours here:
http://stackoverflow.com/questions/27802860/ipython-console-in-spyder-stuck-on-connecting-to-kernel

Good luck.
0