The Art of Doing - Python Network Applications with Sockets

In this course, you will learn how to set up your own home network with static IP addresses and port forwarding so that anyone can access your programs over the Internet. Then you will learn how to set up a simple two-way chat in the terminal using the Socket module. Next, you will learn how to use the threading module to create a simple chat room in the terminal and how to use the Tkinter module to create a GUI chat room like the old AOL chat rooms.

Later, we will look at how to create an advanced GUI chat room with admin window using the JSON module, and finally, how to create your own online multiplayer game using the Pygame module.

As this is a project-based course, 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 will use JSON to serialize python objects such as our game state and game players, and have a fully 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.

All the resources for this course are available at: https://github.com/PacktPublishing/The-Art-of-Doing---Python-Network-Ap…

Type
video
Category
publication date
2022-11-25
what you will learn

Use the socket module to create a terminal-based two-way chat
Use the threading module to create a terminal-based chat room
Use a Tkinter module to make a GUI chat room
Configure router to allow communication from an external network
Use the JSON/Pickle modules to build an advanced GUI chat room with an admin window
Use the Pygame module to create an online multiplayer game

duration
873
key features
Focus on networking fundaments such as IP and port addresses, IPV4, TCP, and UDP protocols * Learn to use the Pygame module to make your own online multiplayer game * Create your own home network with port forwarding and static IP addresses so that anyone may access your applications online
approach
The course follows a project-based learning approach. This is a complete hands-on practical course designed for the intermediate level, where we will be building different projects and each project will be built on the knowledge gained during the previous projects.
audience
This intermediate course is intended for students with a basic understanding of Python and core programming concepts as well as comfort levels with both functional and object-oriented programming, as both will be used in the course's second half. Also, who is interested in learning how to write programs that can work over a network and communicate with one another.

Although it will be helpful to have prior knowledge of different Python modules, we will take the time to teach you everything you need to know to construct the program in this course.
meta description
This is an intermediate-level course. In this course, you will learn how to use socket, threading, JSON, and Pygame modules to build an online multiplayer game.
short description
Welcome to a project-based intermediate course. This course is designed to learn how to create new and exciting projects using various python modules. In each section, we will build a project and with each project, you will learn how to create an online multiplayer game, AOL-style chat room, and more!
subtitle
Create an online multiplayer game, AOL-style chat room, and more with socket, threading, JSON, and Pygame modules!
keywords
socket, threading, JSON, Pygame modules, IP address, port address, IPV4 protocol, TCP protocol, UDP protocol, AOL chat rooms, GUI chat room, admin window, online multiplayer game, tkinter module
Product ISBN
9781837631599