Python Forum
How to pause execution (on windows)?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to pause execution (on windows)?
#1
Assume I have created a *.py script (on windows).
If I double click on it it is executed. But the command prompt windows vanishes immediately.
I cannot read output.

I need to write a kind of "pause" command into *.py script file to pause execution and let me read what is previously printed.

When I hit RETURN the processing should be resumed.

How can I achieve this?
Reply


Messages In This Thread
How to pause execution (on windows)? - by pstein - Jun-23-2023, 06:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I pause only one object? actualpy 1 482 Feb-01-2024, 07:43 PM
Last Post: deanhystad
  Is it Possible to pause a script? tester_V 6 1,817 Apr-05-2023, 06:11 AM
Last Post: tester_V
  Did subprocess.Popen() causes main routine to pause stdout? liudr 4 3,836 May-04-2021, 08:58 PM
Last Post: liudr
  Not able to make a specific thing pause in pygame cooImanreebro 4 3,449 Dec-13-2020, 10:34 PM
Last Post: cooImanreebro
  How to Make Python code execution pause and resume to create .csv and read values. Kashi 2 3,897 Jun-14-2018, 04:16 PM
Last Post: DeaD_EyE
  how to pause pyxhook keylogger johweb 0 2,458 Jun-13-2018, 03:17 PM
Last Post: johweb
  How to pause/interupt with keyboard jehoshua 5 7,426 Mar-20-2018, 05:52 AM
Last Post: jehoshua
  Pause event Trajme 2 3,210 Dec-06-2017, 11:01 PM
Last Post: hshivaraj
  how to enter a pause in the middle of a file sylas 2 3,391 Jun-11-2017, 06:46 AM
Last Post: sylas

Forum Jump:

User Panel Messages

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