jtpio/jupyterlab-python-file

Can this plugin be used to execute.py files?

maosenGao opened this issue · 3 comments

Can this plugin be used to execute.py files?
jtpio commented

For now this plugin only adds shortcuts to create Python files more easily.

Indeed, it could be useful to have a button at the top of the file to directly execute it in a new (or running) Python kernel.

A similar behavior can be achieved by first creating a new console for the editor, and then selecting the code and pressing Shift-Enter:

execute-python-file

Thank you very much.

jtpio commented

@maosenGao you might want to check out this extension from the elyra project with:

jupyter labextension install @elyra/python-editor-extension

image