Multiple threads are necessary in order to keep our GUI responsive. Without running of our GUI program using multiple threads, our application will freeze and possibly crash.
How to create multiple threads
Getting ready
Multiple threads run within the same computer process memory space. There is no need for IPC, which would complicate our code. In this recipe, we will avoid IPC by using threads.
How to do it...
First, we will increase the size of our ScrolledText widget, making it larger. Let's increase scrol_w to 40 and scrol_h to 10.
We will start by using the latest...