
Install Python 3.10.6, add it to your system path, and verify the setup using the Python interpreter and IDLE. Prepare for exploring other editors in the next video.
Download Visual Studio Code for Windows, install it, and add it to the path variable, install the Python extension, and run a test file to print hello world.
Discover core networking concepts—IP addresses, IPv4, WAN vs LAN, public vs local addresses, and ports—then learn how IPv4 TCP and UDP sockets power Python network applications.
Learn to build a Python TCP server with the socket module, bind an IPv4 server socket to a dynamic IP and port, and listen for client connections.
Create a TCP client in Python using the socket module, connect to a server via IPv4 TCP sockets, and encode messages as bytes for transmission.
Learn how to send data over a tcp connection with Python sockets by encoding strings to bytes, receiving and decoding on the client with a 1024-byte limit, and closing sockets.
Demonstrate UDP programming with a connectionless server using bind and receive from, and a client using send to, plus decoding and printing the message and address.
Explore how buffer size affects TCP and UDP transmissions, noting TCP’s guaranteed delivery (may arrive in multiple reads) and UDP’s potential datagram loss, with future dynamic sizing.
Set up a basic two-way chat in python using a tcp server and client, with defined constants, utf-8 encoding, and bind, listen, and connect socket operations.
Develop a two-way socket chat by looping client and server, receiving and decoding messages, displaying them, and encoding and sending replies while handling quit signals.
Explore the threading module basics by turning a simple server-client chat into a concurrent chat room, enabling simultaneous send and receive and handling multiple clients with separate threads.
Create and start threads with the threading module, set targets to function one, two, and three to run concurrently, and note threads can only run once, using join to pause.
Build a terminal chat room with Python threading and sockets. Set up a server and client API to connect, send, and broadcast messages.
Explore preview of the full course to continue learning socket and threading in Python, and build projects like an AOL-style chat room and online multiplayer game with a course coupon.
Python is a fantastic programming language. After learning the basics, moving onto the various modules and libraries is the next logical step. So much functionality can be brought into your program by knowing when and how to use the correct python extension.
In this FREE introductory course learn the basics of networking with python- IP addresses, port addresses, TCP and UDP communication, and more! Learn how to use the socket module to create IPV4, TCP/UDP sockets to run as on the server side and client side and most importantly, send encoded information back and forth from one machine to another over a network!
We will also preview how to use the threading module so you can take your simple communication stream between an individual client and server and open it up such that your server could host an unlimited number of clients all communicating at once; your own chat room!
Due to the time limit restrictions on free courses I will not walk you through this project, but I promise you...the foundation will be set for you to go and write this program all on your own! Get ready to learn the fundamentals and take your python programs to the next level; communicating over the internet!
I can't wait to have you as a student.