This article provides a brief tutorial on how to code sockets in Python. Socket programming can be a bit confusing at first, but, fortunately for us, Python makes it really easy.

I assume that you already have a basic understanding of Python. You can download the code for this tutorial from this GitHub repository.

Before plunging into implementation, let’s review a bit of theory first to acquire basic notions about sockets.

Continue reading “How to Do Socket Programming in Python” →