'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 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jae