The Art of Doing: Python Network Applications with Sockets!

所在平台: Udemy

课程主页: https://www.udemy.com/course/the-art-of-doing-python-network-applications-with-sockets/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** Python 网络应用编程艺术:Socket 编程 **课程概述:** 本课程面向已掌握 Python 基础知识,并希望深入学习网络编程的学员。课程将引导您构建各种有趣的网络应用程序,包括: * **基础双向终端聊天:** 学习使用 `socket` 模块实现基本的点对点通信。 * **多用户终端聊天室:** 引入 `threading` 模块,实现并发处理,构建多人在线聊天室。 * **图形用户界面(GUI)聊天室:** 结合 `tkinter` 模块,创建具有可视化界面的聊天应用。 * **路由器配置与外网通信:** 学习如何配置路由器,实现跨网络通信。 * **高级 GUI 聊天室(带管理窗口):** 进一步使用 `json` 和 `pickle` 模块进行数据序列化,构建功能更完善的聊天应用。 * **在线多人游戏:** 课程的最终项目,运用 `pygame` 模块,结合 IPv4/TCP sockets、多线程、数据序列化(json)和 Pygame GUI,打造一个完整的在线多人游戏。 **学习目标:** 通过本课程的学习,您将能够: * 理解网络通信的基本原理,包括 IP 地址、端口、TCP/IP 协议。 * 熟练使用 Python 的 `socket` 模块进行网络编程。 * 掌握多线程技术,实现并发处理,提升应用程序性能。 * 学习使用 `tkinter` 创建图形用户界面。 * 了解并应用 `json` 和 `pickle` 进行数据序列化和反序列化。 * 能够独立完成一个完整的在线多人游戏项目。 * 最终能够与朋友或家人分享您的项目,让他们从不同地点连接到您构建的服务器,展示所学技能。 **面向人群:** * 已具备 Python 基础语法的学习者。 * 对网络编程、游戏开发、即时通讯等应用感兴趣的初学者。 * 希望从基础进阶到实际项目开发的 Python 学习者。

课程评论(0条)

课程详情

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 moduleA terminal based chat room introducing the threading moduleA GUI chat room introducing the Tkinter moduleHow to configure your router to allow communication from an external networkAn advanced GUI chat room with admin window introducing the json/pickle modulesAn online multiplayer game introducing the Pygame moduleEach 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.

课程标签

0人关注该课程

主题相关的课程