Network Programming
We take a quick look at how data moves across the network using the HyperText Transport Protocol (HTTP) and how we write programs to read data across the network.
Slides
Videos
- Networks and Packets - Part 1 (7:44)
- Servers and Protocols - Part 2 (9:21)
- Using HTTP in Python - Part 3 (4:36)
- Worked Example: Sockets (6:12)
- Characters, ASCII, and Unicode - Part 4 (11:15)
- Using urllib in Python - Part 5 (5:31)
- Worked Example: Urllib (3:40)
- Beautiful Soup in Python - Part 6 (6:40)
- Worked Example: BeautifulSoup (9:21)
References
- Chapter 12: Networked Programs
- ASCII Coding and Binary
- Characters, Symbols and the Unicode Miracle - Computerphile
Discussions
- Network Programming (Login Required)
Tools
- Autograder: Request-Response Cycle (Login Required)
- Autograder: Scraping HTML Data with BeautifulSoup (Login Required)
- Autograder: Following Links with BeautifulSoup (Login Required)
- Quiz: HTTP (Login Required)