run-in-jupyter README
This VSCode extension enables the execution of selected code snippets or entire code blocks from a Python file within a Jupyter environment.
Requirements
This extension requires the Jupyter extension by Microsoft. It just sends the code to the Jupyter extension and runs it.
Usage
- Shift+Enter for Running the current block of code and make your cursor Move Down to the start of next block. So you can do this repeatedly.
- Alt+Q for Just Running the current block of code. This may be useful for testing some random-result code. You can customize the keybinding in VSCode.
- Select some code. Either 1 or 2 will run the selected code.
Notes
- It will be better to use a formatter like Black Formatter to format your code before running it.
- Python Multi-Line String is not supported yet. You can select the code and run it.
| |