0

When running Python 3.8.10 from the cmd with py or python, a new window is opened with the Python interpreter, and the same happens when running a script with python script.py. It didnt used to be like this, it used to excecute the code in the same window, I do not know what happened. Can Python be configured not to do so?

Python opens in a new window

Update: Using Python's repair tool in administrator mode solved the problem.

Hans GD
  • 25
  • 5
  • 1
    your associations are all wrong. Use "repair python installation" to set them properly, see one of my answers https://stackoverflow.com/a/38612907/6451573 – Jean-François Fabre Mar 28 '22 at 20:51

0 Answers0