

See the official documentation for more info on the subject. In simple terms, a socket provides us with a bi-direction communication channel for sending and receiving data. This is important for handing network communication. The video below shows the running application for four connected clients/users. This means that messages from a user are broadcasted to other users. The group chat application will allow multiple users to connect to the server and chat with all other online users.

In any case, it's still very easy to understand. I promise, creating GUI components using Tkinter is a breeze especially if you have worked with Java Swing, C# Window Form or HTML/CSS. I will be using the popular Python GUI library: Tkinter for the User Interfaces - who likes boring command-line apps anyways :) If you haven't, then you should see my first tutorial titled " Learn Python by Building a GUI Guessing Game with Tkinter" where I covered how to use the Tkinter library in greater detail. To learn more about python and how to set it up, please see the official documentation. I am going to assume that you have Python installed and setup on your computer. I think it's always best to approach programming as a concept instead of a language. The good news is that the concepts are also applicable to other programming languages. The goal of this tutorial is to get you started with Network Programming (client/server application model) in Python. Hey guys, I am going to show you how to build a multi-user group chat application in Python.
