title: How can I run selected lines in Spyder 4?
body: <p>In previous versions of Spyder, you can select lines in the editor, and only run those selected lines.</p>
  <p>In Spyder 4, when you select lines and press <kbd>Ctrl</kbd>+<kbd>Enter</kbd> it executes <code>runcell(0, '/your/dir/file.py')</code> which runs the whole code.</p>
  <p>How can I run just the lines which I have selected?</p>