Python for Everybody (py4e.com)

PODCAST · education

Python for Everybody (py4e.com)

These are the lectures to supplement the textbook 'Python for Everybody: Exploring Information' and its associated web site py4e.com

  1. 86

    1.1 Why Program

    Explore the nature of programming and how programming a computer is different than using a computer.

  2. 85

    1.2 Hardware Architecture

    In this lecture we learn abut how the computer processes and stores programs. We learn about the CPU, Memory, Storage and Input / Output devices are brought together to write a program.

  3. 84

    1.3 Python as a Language

    We look at how writing programs is just another form of communication. Instead of communicating with another person, we are communicating our ideas to a computer.

  4. 83

    1.4 What do we Say to Python?

    We look at the basics of the Python language and how we write code in Python to communicate sequential steps, conditional steps and repeated steps.

  5. 82

    Installing Python 3 on a Macintosh

    Installing Python 3 on a Macintosh

  6. 81

    Code Walkthrough: Hello World

    Code Walkthrough: Hello World

  7. 80

    2.1 Building Blocks of Python

    We look at Python's reserved words, how we name and use variables, why we choose meaningful (mnemonic) variable names and how assignment statements function.

  8. 79

    2.2 Expressions

    We look at how we use various numerical and string operations to compute new information and store the new values in variables.

  9. 78

    Code Walkthrough: Exercise 2.2

    Code Walkthrough: Exercise 2.2

  10. 77

    Code Walkthrough: Exercise 2.3

    Code Walkthrough: Exercise 2.3

  11. 76

    3.1 If-Then-Else

    The most basic conditional structure is the if statement where we either execute or skip a segment of code based on the results of a logical expression (i.e. asking a question).

  12. 75

    3.2 More Conditional Statements

    In this video we look at multi-branch if statements and the try-except concept where we can indicate a group of statements to be executed if something goes wrong with a block of statements.

  13. 74

    Code Walkthrough: Exercise 3.1

    Code Walkthrough: Exercise 3.1

  14. 73

    Code Walkthrough: Exercise 3.2

    Code Walkthrough: Exercise 3.2

  15. 72

    4.1 Using Pre-Defined Functions

    We look at how code flows into and out of functions as well has how we pass information into functions and get results returned to us.

  16. 71

    4.2 Building our Own Functions

    We look at how to build our own functions using parameters and arguments as well as how we return results to the code that is calling our functions.

  17. 70

    Code Walkthrough: Exercise 4.6

    Code Walkthrough: Exercise 4.6

  18. 69

    5.1 The Basics of Loops

    We look at how we construct a loop so that it runs as long as we want it to run. We learn about iteration variables and exiting loops with the 'break' and 'continue' statements.

  19. 68

    5.2 Definite Loops

    We learn how to use the 'for' statement in Python to loop through a set of data.

  20. 67

    5.3 Patterns for Making Loops

    Loops have a beginning, middle, and end. We look ant how we construct a loop to look at a list of items one at a time so we can compute an overall maximum, minimum or average.

  21. 66

    5.4 Loop Techniques

    We continue to look at how to construct loops including how to do something special the first time through the loop. We introduce the idea of 'None' which is a way to indicate that a variable is currently empty.

  22. 65

    Worked Exercise: Exercise 5.1

    Worked Exercise: Exercise 5.1

  23. 64

    6.1 Storing Text Data in Strings

    We learn how to create string variables and extract portions of the data as well as write simple loops to read through the characters in a string.

  24. 63

    6.2 String Operations

    We learn how to extract substrings using slicing, and use the string library to perform common data extraction operations with strings.

  25. 62

    Worked Example: Exercise 6.5

    Worked Example: Exercise 6.5

  26. 61

    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.

  27. 60

    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.

  28. 59

    Worked Example: Exercise 7.1

    Worked Example: Exercise 7.1

  29. 58

    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.

  30. 57

    8.2 Manipulating Lists

    We learn about list slicing, list searching, and using pre-defined functions with lists.

  31. 56

    8.3 Strings and Lists

    We learn how to parse strings pull sub-strings out of a string using the split() function.

  32. 55

    Worked Exercise: Chapter 8

    Strings, Files, Lists and the Guardian Pattern.

  33. 54

    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.

  34. 53

    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.

  35. 52

    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.

  36. 51

    Worked Exercise: Dictionaries

    Worked Exercise: Dictionaries

  37. 50

    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.

  38. 49

    10.2 Sorting Data

    We look at how we sort lists, dictionaries, and lists of tuples in Python.

  39. 48

    Worked Example: Sorting Dictionaries

    Worked Example: Sorting Dictionaries

  40. 47

    11.1 Introduction to Regular Expressions

    We look at the syntax of regular expressions and how to use them to search through text data.

  41. 46

    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.

  42. 45

    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.

  43. 44

    12.1 Network Technology (TCP/IP)

    We take a very brief look at how software communicates across the Internet using TCP/IP.

  44. 43

    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.

  45. 42

    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.

  46. 41

    Worked Example: Sockets

    Worked Example: Sockets

  47. 40

    12.4 Unicode Characters and Strings

    We explore how characters are encoded when they are transported across the network.

  48. 39

    12.5 Retrieving Web Pages

    We write an even simpler Python program to retrieve a web page using the urllib library in Python.

  49. 38

    Worked Example: Using urllib

    Worked Example: Using urllib

  50. 37

    12.6 Parsing Web Pages

    Now we will look at the HypertextMarkup Language (HTML) that we retrieved using Python and extract links from that HTML. We are slowly building a very simple web search engine.

Type above to search every episode's transcript for a word or phrase. Matches are scoped to this podcast.

Searching…

No matches for "" in this podcast's transcripts.

Showing of matches

No topics indexed yet for this podcast.

Loading reviews...

ABOUT THIS SHOW

These are the lectures to supplement the textbook 'Python for Everybody: Exploring Information' and its associated web site py4e.com

HOSTED BY

Dr. Charles Russell Severance

URL copied to clipboard!