Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Did subprocess.Popen() causes main routine to pause stdout?
Post: RE: Did subprocess.Popen() causes main routine to ...

(May-04-2021, 08:07 AM)Gribouillis Wrote: I think sys.stdout is flushed when a newline is printed, so print('.') flushes stdout but not print('.', end='') Thanks but I guess IDLE Python shell handle...
liudr General Coding Help 4 3,666 May-04-2021, 08:58 PM
    Thread: Did subprocess.Popen() causes main routine to pause stdout?
Post: RE: Did subprocess.Popen() causes main routine to ...

That was dead on! Thankd you DeaD_EyE! So I guess this is some sort of Python internal optimization for speed maybe?
liudr General Coding Help 4 3,666 May-04-2021, 03:28 AM
    Thread: Did subprocess.Popen() causes main routine to pause stdout?
Post: Did subprocess.Popen() causes main routine to paus...

Here is what I wanted to do: In nix terminal emulator, run my script. Call subprocess.Popen() to spawn a number of processes, make sure the stdout printouts won't fill my screen. Once all sub processe...
liudr General Coding Help 4 3,666 May-01-2021, 07:16 PM

User Panel Messages

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