Skip to content

Instantly share code, notes, and snippets.

@vdmitriyev
Last active April 8, 2022 17:56
Show Gist options
  • Save vdmitriyev/c78613d8c0f753be1bc7011bcc760166 to your computer and use it in GitHub Desktop.
Save vdmitriyev/c78613d8c0f753be1bc7011bcc760166 to your computer and use it in GitHub Desktop.

About

A list of links on parallel execution of processes / threads within Python

Parallel Execution in Python

If you want a non-blocking approach, don't use process.communicate(). If you set the subprocess.Popen() argument stdout to PIPE, you can read from process.stdout and check if the process still runs using process.poll().

Some Gists with Code

Applied so far

Async

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment