Python interpreter restarts after exit()

Whenever I try to exit the python interpreter by doing cntrl+d or exit(), it then persistently restarts the python interpreter. I want to write a command in my console so I need to exit the interpreter. I tried opening new repl with the basic example of hello-world and I have the same issue. Every time I exit() or do cntrl+d it restarts the python interpreter and I just want it to end. Anyone able to help?

1 Like

Hi @JonathanLederer , welcome to the forums! Could you provide more details and the link to your repl?

1 Like

Try running whatever command you need to run in the Shell tab, as that tab is not locked to the interpreter.

1 Like

A post was merged into an existing topic: Python interpreter keeps restarting