O'Reilly logo

Tkinter GUI Programming by Example by David Love

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making Friends – Finishing Our Chat Application

We will be finishing off our chat application by using threads to get it listening for incoming messages in the background. We will explore the motivation for incorporating threads in a GUI application, then learn how they can be implemented.

Once our application is listening for new messages, we will polish things off by making the user-chosen avatars function properly and we will learn how to handle manipulating images in Python.

We'll finish up by allowing users to add each other as friends and block friends if they no longer wish to talk to them.

In this chapter, we will cover the following topics:

  • Why we may need to use threads when making a GUI application
  • How to create and use a thread ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required