Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
The Art of Doing - Python Network Applications with Sockets
The Art of Doing - Python Network Applications with Sockets

The Art of Doing - Python Network Applications with Sockets: Create an online multiplayer game, AOL-style chat room, and more with socket, threading, JSON, and Pygame modules!

Arrow left icon
Profile Icon Michael Eramo
Arrow right icon
$9.99 $54.99
Video Nov 2022 14hrs 33mins 1st Edition
Video
$9.99 $54.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Michael Eramo
Arrow right icon
$9.99 $54.99
Video Nov 2022 14hrs 33mins 1st Edition
Video
$9.99 $54.99
Subscription
Free Trial
Renews at $19.99p/m
Video
$9.99 $54.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • 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

Description

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-Applications-with-Sockets

Who is this book for?

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.

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 25, 2022
Length: 14hrs 33mins
Edition : 1st
Language : English
ISBN-13 : 9781837631599
Category :
Languages :
Tools :

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Nov 25, 2022
Length: 14hrs 33mins
Edition : 1st
Language : English
ISBN-13 : 9781837631599
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 106.97 151.97 45.00 saved
Mastering Python 2E
$49.99
Advanced Python Programming
$46.99
The Art of Doing - Python Network Applications with Sockets
$9.99 $54.99
Total $ 106.97 151.97 45.00 saved Stars icon
Banner background image

Table of Contents

7 Chapters
Installation and Setup Chevron down icon Chevron up icon
Creating TCP and UDP Connections with the Socket Module Chevron down icon Chevron up icon
Creating a Terminal Chat Room with the Threading Module Chevron down icon Chevron up icon
Creating a Basic GUI Chat Room with the Tkinter Module Chevron down icon Chevron up icon
Creating an Advanced GUI Chat Room with the Json Module Chevron down icon Chevron up icon
Connecting to the Outside World Chevron down icon Chevron up icon
Creating a Multiplayer Game with the Pygame Module Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How can I download a video package for offline viewing? Chevron down icon Chevron up icon
  1. Login to your account at Packtpub.com.
  2. Click on "My Account" and then click on the "My Videos" tab to access your videos.
  3. Click on the "Download Now" link to start your video download.
How can I extract my video file? Chevron down icon Chevron up icon

All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.

How can I get help and support around my video package? Chevron down icon Chevron up icon

If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail customercare@packt.com with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.

  1. Video
  2. Format watched (HTML, MP4, streaming)
  3. Chapter or section that issue relates to (if relevant)
  4. System being played on
  5. Browser used (if relevant)
  6. Details of support
Why can’t I download my video package? Chevron down icon Chevron up icon

In the even that you are having issues downloading your video package then please follow these instructions:

  1. Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
  2. Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.