Python Forum
Python opening a new command window
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python opening a new command window
#1
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.
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to call and focus any popup window outside of the main window app? Valjean 6 1,612 Oct-02-2023, 04:11 PM
Last Post: deanhystad
  Why is IDLE not opening on a MacOS Montery 12.6 and using Python 3.10.7? Merlin385 7 1,592 Oct-08-2022, 08:36 PM
Last Post: Merlin385
  Opening CMD from Python Oshadha 2 1,243 Jul-17-2022, 11:22 PM
Last Post: Skaperen
  Pyspark Window: perform sum over a window with specific conditions Shena76 0 1,132 Jun-13-2022, 08:59 AM
Last Post: Shena76
Question Opening small size browser with python selenium not work, need help greenpine 0 1,587 Feb-07-2022, 11:36 AM
Last Post: greenpine
  Facing Problem while opening a file through command prompt vlearner 4 1,857 Jan-30-2022, 08:10 AM
Last Post: snippsat
  python keeps opening script directory Tyrel 5 2,936 Aug-06-2021, 10:43 PM
Last Post: snippsat
  window command window RobertAlvarez424 11 3,931 Aug-05-2021, 05:03 PM
Last Post: RobertAlvarez424
  Python OpenCV window not opening in fullscreen mode Zman350x 0 3,233 Apr-29-2021, 07:54 PM
Last Post: Zman350x
  cv2.imshow Python is not opening the window on top Petko 0 2,333 Feb-21-2020, 11:11 AM
Last Post: Petko

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020