In Jupyter Lab, execute editor code in Python console
<p>In <a href="https://github.com/jupyter/jupyterlab" rel="noreferrer">JupyterLab</a>, I want to send code from the editor to the Python console for execution, preferably with a keyboard shortcut. The documentation doesn't seem to offer a way to do this, but it's such a fundamental aspect of an IDE that I imagine it's probably possible.</p>