Problem - vscode (Python)

Hi, guys! I’m a beginner and I need your help!
I’m using the newest version of vscode and python 3.10.6(64bit) on windows 10.

When I try to execute the code, in the terminal shows me some problems.
(I will attach pictures).

I don’t know what I’m supposed to do (I tried a lot of things on the Internet, but without any result) Please help me!

Hello equuleuss,

It looks like you’re trying to run python, instead of executing your python application.
To address your issue, type app.py in the terminal. The result should be shown in the terminal window.

specifically you should write

python app.py

in the terminal

1 Like