Udemy

The Art of Doing: Python Network Applications with Sockets!

Enroll Now
  • 4,172 Students
  • Updated 8/2022
4.8
(132 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
14 Hour(s) 30 Minute(s)
Language
English
Taught by
Michael Eramo
Rating
4.8
(132 Ratings)

Course Overview

The Art of Doing:  Python Network Applications with Sockets!

Create an online multiplayer game, AOL style chat room, and more! Learn the socket, threading, json, Pygame modules!

Have you ever wanted to build your own online multiplayer game that you and your friends could play?  How about wanting to build your own chat room like the golden AOL chat rooms from the 1990's that you and your friends could "hang out" it.  Want to learn the underlying principles of how programs like these work - how they can communicate and send data back and forth from one computer to the next over the internet?  If the answer is yes, then please consider taking this course!

I know in my own journey with Python and computer science, once I got past the basics...the fundamentals...the whole "this is a for loop.  Can you print the first 100 even numbers?" type exercises, the doors really opened up.  There was only one problem:  the doors opened up to a HUGE space, with very little guidance.  Python is great because you can do so much with it, especially when you start to bring in new modules and libraries that give added functionality.  While there are ample beginner resources out there willing to hold your hand and guide you through the learning, I felt there were significantly less targeting this intermediate audience...The audience that has learned the basics and are now looking for something more...

In this course, I decided to focus my intermediate projects around networking applications; I wanted to write programs that could talk to each other online, both across my local area network and across the internet as a whole.  With this in mind, I asked myself what are some fun and engaging projects students would enjoy learning with and what external modules and libraries should we know to accomplish these projects.   In this course we will complete the following:


  • A two-way terminal based chat introducing the socket module

  • A terminal based chat room introducing the threading module

  • A GUI chat room introducing the Tkinter module

  • How to configure your router to allow communication from an external network

  • An advanced GUI chat room with admin window introducing the json/pickle modules

  • An online multiplayer game introducing the Pygame module


Each project builds on the knowledge gained during the previous projects.  In our culminating project, when we attempt to create our own online multiplayer game, we will be generating IPV4/TCP sockets to connect computers to a server running on a machine with a static IP and port forwarding enabled, creating various threads to run processes concurrently on our machines, we'll use json to serialize python objects such as our game state and game players, and have a full interactive GUI interface using Pygame.

By the end of this course you will have multiple projects you can share with friends or family, have them run a client script from their house, connect to your server script, and show off all you learned. 

Course Content

  • 7 section(s)
  • 61 lecture(s)
  • Section 1 Installation and Setup
  • Section 2 Creating TCP and UDP Connections with the Socket Module
  • Section 3 Creating a Terminal Chat Room with the Threading Module
  • Section 4 Creating a Basic GUI Chat Room with the Tkinter Module
  • Section 5 Creating an Advanced GUI Chat Room with the Json Module
  • Section 6 Connecting to the Outside World
  • Section 7 Creating a Multiplayer Game with the Pygame Module

What You’ll Learn

  • Networking Fundaments such as IP and port addresses, IPV4, TCP, and UDP protocols.
  • How to set up your own home network with static IP addresses and port forwarding so anyone can connect to your programs over the internet.
  • How to use the socket module to create a basic two way chat in the terminal.
  • How to use the threading module to create a basic chat room in the terminal.
  • How to use tkinter module to make a GUI chat room like the old AOL chat rooms.
  • How to use the Json module to create an advanced GUI chat room with and admin window.
  • How to use the Pygame module to make your own online multiplayer game.


Reviews

  • T
    TALAL NADI
    5.0

    as i expect it to be

  • T
    Todor Arshinkov
    5.0

    One of the best courses on Udemy I have taken. Clear and conise explanations during each step of the coding process.

  • A
    Arthur Trognon
    5.0

    perfect

  • H
    Hossein Molhem
    5.0

    In my oponin, this is greate course and Michael has excellent potential for teaching. I recommend it to everyone. If you are looking to learn more cpmplex concepts, Michael can explain them in an easily understanable way. I really enjoeyed the course "The Art of Doing: Python Network Applications with Sockets".

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed