Home > database >  Key shortcut for running python file in VS code
Key shortcut for running python file in VS code

Time:04-28

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.

CodePudding user response:

You can press Ctrl F5 to run the file.

If you want to debug the file, use F5 instead.

CodePudding user response:

You can refer to the picture below to find the shortcut key and change it according to your needs.

enter image description here

enter image description here

  • Related