如何在 VS Code 的 Python 笔记本中 "Run all cells above"

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

在 VS Code 的 python notebook 工作环境中,有没有办法 运行 给定单元格上方的所有单元格?

在命令托盘运行中命令:Notebook: Execute Above Cells。 创建键盘快捷键(例如 alt+A)。那你就大功告成了。