Running python in vscode terminal

Question:

I want to run python on vscode terminal but when i try to do so i get the following:
Execution output

I use the code runner extension and i am enabling ‘run code in terminal’option.
It used to work for me, but i have tried recently to run python on windows terminal by copying the entire thing vscode generates in it’s terminal when building the executable(the path and everything) and pasting it to windows terminal, didn’t work.
This is what i pasted: C:UsersYanAppDataLocaltmcvscodemooc-programming-22part05-27_letter_square> python -u "c:UsersYanAppDataLocaltmcvscodemooc-programming-22part05-27_letter_squaresrcletter_square.py"

Please tell how to fix this and if what i did is the cause, then tell me also how to run python on windows terminal without causing this problem.

Answers:

The command pasted to the windows terminal has somehow created a file named "python" (with no extension) in the "System32" folder.
Delete the file and the problem is solved.

Answered By: Naughty Constrictor
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.