Python was not found; run without arguments to install from the Microsoft Store

I have been attempting to use python on my Windows computer but when attempting to run the python file on the command prompt i keep getting the error message " Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings". I’ve tried searching to workarounds tried going to “Manage App Execution Aliases” and turning off Python as well as adding a path into the environmental variable but still have not had any luck. Any help would be greatly appreciated!

You need to get python from python.org web site.
Then make sure you read 4. Using Python on Windows — Python 3.13.2 documentation so you know what to expect.

For example to run python in a cmd terminal use the command

py