Spawning separate processes

Under some circumstances, it is not possible to implement the desired functionality for your application just by using threads. For instance, you might want to call a separate program that could be written in a different language.

In this case, we also need to use the subprocess module to invoke the target program from our Python process.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset