I am facing a weird issue with python.exe in Windows. When I enter python
in CMD, the interactive Python shell opens in a new console window.
When I delete python.exe and try to repair Python using the installer, it works fine and opens the interactive shell in the same console window. But when I refresh the "C:\python27" folder, or install any new module, the python.exe icon changes and the issue returns.
I found a few answers in the following link but nothing worked out: Python.exe opens in a new console window.