Home > Enterprise >  How to restart executing the code from Terminal?
How to restart executing the code from Terminal?

Time:07-25

I want to restart executing my code print("Hello Python") form Terminal without closing it. How can I do this ? Thank you

my code

CodePudding user response:

This is as simple as pressing the play button in the top right-hand corner again, which will start up your program and run it by entering the startup command (as seen in your screenshot) into your terminal.

If you're just starting out, you might benefit more from the REPL interpreter. If you type python into your terminal with no arguments, you can enter code line by line and see its output as soon as you hit enter.

CodePudding user response:

You can click on terminal and then press up arrow on your keybord. It'll call previous command, so just press Enter after that.

  • Related