Python Forum

Full Version: Python opening a new command window
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I am facing a weird issue in windows python setup. When i enter python in cmd window, a new interactive shell opens.

When i delete the python.exe and try to repair the python using setup file, it was working fine and opening interactive shell in the same cmd window but when i refresh c:\python27 folder or install any new module, python.exe icon changes to a black one and same issue repeats.

Can anyone please help/suggest me any solution for this issue.

Regards,
Lokesh Kumar M.
once python is installed, you should never mess with anything in the python directory.
installs should be done using pip or other official installation programs only.
also, Python 27 was supposed to die on January 1, 2020, but alas has become a zombie!

You should upgrade to python 3, which is already at version 3.8.1

At this point, I would suggest you totally uninstall python 2.7 which, since messed which can no longer be trusted, and reinstalling (hopefully with 3.8.1), but if not, at least with official version.