Home > Software engineering >  VS Code not running Python program
VS Code not running Python program

Time:09-16

Whenever I try and run a Python program in VS Code, it doesn't do anything. I can run the same program in the IDLE from Python and the code will run just fine.

When I run the code the below is what I get.

VS Code Python screenshot:
VS Code Python screenshot

CodePudding user response:

File extension.py Pressing "run python file in terminal" doesn't work since the update. Worked fine with older version of the python extension. Verified on a clean vscode profile with just one vscode-python

CodePudding user response:

You dont write forward slashes in the file name , just type python filename.py or py filename.py

  • Related