Deitel Introduces Creating Processes in Python
This Deitel™ article presents the mechanics of process creation and management in Python. Process management is a task common to programs such as shells and simple Web servers. We introduce functions os.fork and os.wait. We also introduce the concept of asynchronously executing processes and the unpredictability of their relative execution speeds. Readers should be familiar with basic Python programming, modules and exception handling. The code examples included in this article show readers programming examples using the Deitel™ signature Live-Code™ Approach, which presents all concepts in the context of complete working programs followed by the screen shots of the actual inputs and outputs.