Chapter 4, Advanced Python Modules

  1. We can make use of a Python library called billiard. It's very powerful.
  2. We may want to use threads, where we don't wish to have parallel execution, but we would want to control execution of a method. For example, if we wanted a method X to be executed for 10 seconds and terminate after that, we can invoke it with a thread and call join for 10 seconds.
..................Content has been hidden....................

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