Beginner here. Installed Python 3.9 and PyCharm. Trying to execute from command prompt in Windows 10 Pro. I checked the environmental variables with the route to the folder where the executables are but still does not work.

Beginner here. Installed Python 3.9 and PyCharm. Trying to execute from command prompt in Windows 10 Pro. I checked the environmental variables with the route to the folder where the executables are but still does not work.

Use :
Python3 Helloword.py
Or:
Python Helloword.py
You have to tell to OS this is a python file. You just wrote file name but didn't tell what's execute this.