Python for Everybody (py4e.com)
Episodes
86 episodes
7.1 Reading Files
We look at how text and lines are represented in files, how we open a file and write a loop to read through all the lines in the file.
7.2 Processing Data in Files
We look at patterns for reading and processing the data in files. We learn how to check for nonexistent files, and how we process each line within the file.
8.1 Creating and Using Lists
We learn how to put data into lists, take data out of the list and write simple loops to examine the elements of a list.
8.2 Manipulating Lists
We learn about list slicing, list searching, and using pre-defined functions with lists.
8.3 Strings and Lists
We learn how to parse strings pull sub-strings out of a string using the split() function.
9.1 Python Dictionaries
We compare and contrast how Python lists and dictionaries are structured internally. How we use position to index lists and use keys to index dictionaries.
9.2 Building Histograms
We look at how we can use dictionaries to count the frequencies of many things at the same time. We learn how the key and value are related in a dictionary and example the get method to retrieve values from a Python dictionary.
9.3 Counting Words in Text
In this segment we bring everything together, reading a file, parsing the lines, and computing the frequencies of the words in the file. This is an important moment that pulls from everything we have learned so far.
10.1 Understanding Tuples
We look at the basic syntax and capabilities of Python tuples. We explore the concept of immutability, and we compare tuples to lists and strings.
10.2 Sorting Data
We look at how we sort lists, dictionaries, and lists of tuples in Python.
11.1 Introduction to Regular Expressions
We look at the syntax of regular expressions and how to use them to search through text data.
11.2 Matching and Extracting Data
In this segment we learn to pull out data from strings after a regular expression has found a match.
11.3 String Parsing with Regular Expressions
We look at how some of the string parsing we have done in earlier chapters can be easily done with regular expressions.
12.1 Network Technology (TCP/IP)
We take a very brief look at how software communicates across the Internet using TCP/IP.
12.2 Hypertext Transport Protocol (HTTP)
In this section we look at the HTTP protocol that is used to move documents between web servers and web browsers.
12.3 Building a Web Browser in Python
We write a simple Python program that connects to a web server and retrieves a web document. It is a very simple web browser.
12.4 Unicode Characters and Strings
We explore how characters are encoded when they are transported across the network.