Pregunta

I am using spyder as my IDE for Python.

I notice that every time I

  1. Select the code snippet
  2. Press "F9"

as follows:

enter image description here

I would have my console as follows:

enter image description here

With all those ..., I have to press "Enter Key" for many times to finish the execution.

I am really tired of doing so.

How may I make it automatically finish everything?

¿Fue útil?

Solución

Please update to Spyder 2.2.3, it's much more stable and it'll fix your problem. For that just go to our Downloads page and use our Windows installer.

Notes:

  1. Use #%% to separate file sections for evaluation (a la Matlab cells), instead of selecting every time the portion you want to send to the console.

  2. Please install IPython to ease this task. IPython comes now not only with a command line interface but also with a graphical one which we embedded in Spyder to take advantage of its multiple facilities (like multine inputs) which in this case will let you evaluate file portions much more easily.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top