Search code examples
visual-studio-codejupyter-notebookvscode-python

How to "Run all cells above" in VS Code's Python Notebooks


Is there a way to run all cells above a given cell in VS Code's python notebook working environment?


Solution

  • In the command pallet run the command: Notebook: Execute Above Cells. Create a keyboard shortcut (e.g., alt+A). Then you are done.