'Key shortcut for running python file in VS code
In VS Code, I'm writing python code. I was wondering if there is a key shortcut to run the file instead of pressing the run button in the right top corner of the screen constantly.
Solution 1:[1]
You can press Ctrl + F5 to run the file.
If you want to debug the file, use F5 instead.
Solution 2:[2]
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 | cycool29 |
| Solution 2 | MingJie-MSFT |


