Home>

I touched python for the first time in three months, but I can't run it from the command prompt.
Write and save this code in spyder. It can be executed on spyder.
However, when I try to execute it from the command prompt as shown below, there is no response.

C: \ Users \ owner \ Desktop \ project3>python partA.py

Also, as shown below, trying to execute a non-existent file called A.py does not generate an error and remains unresponsive.

C: \ Users \ owner \ Desktop>python A.py

I wrote the following further.

C: \ Users \ owner \ Desktop>python


Then the Microsoft Store started up and a page to get python3.7 appeared.

I feel something fundamentally wrong. I think I was able to execute it from the command prompt three months ago, but I am not sure. (Maybe after replacing this PC, the python file may have been executed only by spyder)
I remembered that I was able to execute it from the command prompt in September.
I would be grateful if someone could tell me how to solve it.