How it works...

In this recipe, we prepared our GUI to use threads by first increasing the GUI size so we can better see the results printed to the ScrolledText widget.

We then imported the Thread class from the Python threading module.

Next we created a method that we call in a thread from within our GUI.

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

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