Welcome to my blog’s first tutorial series!
In the first part of this project, the overview, we looked at the finished program, how it’s going to look once we wrap up the last part along with a lot of details about everything we’ll be covering along the way.
If you haven’t checked out the first part, go ahead right now, I’ll wait…
Also make sure you have all the required software: Python 2.7.
Done? Alright, grab your beverage of choice and get ready!
Setting Up Our Script
Let’s begin by creating a nice folder to save our script. I decided to name mine PyCS.py (as in Python Chat Server, abbreviated accordingly).
Since we’re going to develop two scripts separately at first, I recommend having that folder so you don’t make things messy in your desktop.
It’s also useful in case you need to backup one of the scripts along the way.
Let’s Write Some Code
I will not go fully in depth on each line of code here in the blog, since I made a 30 minute video where everything is explained clearly.
In any case, I will lay down explanations for individual blocks of code here.
Also if you don’t care about writing the code yourself, I will leave the script for download at the bottom of each post for easy access. 😉