python - shift+enter/return for run does not work in Spyder -
i new python , programming in general try learn python-programming in spyder(python 3.5).
i have simple question: run command , advance next line should able click button on top or use shift+enter, neither of these work. work in jupyter not in spyder.
is there wrong run settings?
there 2 possible answers question.
- if don't have selected in spyder editor , press f9, spyder evaluate current line , automatically move next one.
- if want run things in similar way in jupyter notebook, can break file in cells, introducing comments of form
# %%
. after you'll see active cell colored differently. can evaluate cells running shift+enter (to move next cell) or ctrl+enter (to stay in current one).
Comments
Post a Comment