How it works...

In order to separate the GUI widgets from the functionality that expresses the business logic, we created a class, made a queue a member of this class, and by passing an instance of the class into a function residing in a different Python module, we now have access to all the GUI widgets as well as the queue.

This recipe is an example of when it makes sense to program in OOP.

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

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