Vishal Ram
Vishal Ram

Reputation: 69

Python files are not recognized by the Computer

I've installed Python in my system(Win 10) recently and through the Python IDLE, I wrote a simple code like

print("Hello") It works well, if I run it through the shell

But as soon as I save the file and then try to open it, is shows that the program is not recognized by the computer. It gives me options to choose the app that can run the program. The icon is the "Internet Explorer" which is completely irrelevant.

Yes, I've added Python's path and Script's path into the system variables, but still no luck. I again uninstalled and re-installed python, that too didn't work. I even restarted the system, still no luck.

I'm using a Win 10 machine.

Upvotes: 0

Views: 430

Answers (0)

Related Questions