I use VS Code on a Mac laptop. If I'm using Python I can run the code by pressing the little arrow in the top right,
However, I can't seem to find a keyboard shortcut for this. There is an old question,
CodePudding user response:
You can try with ctrl shift b
in windows or ⌘ shift b
in MacOS.