Python for Everybody (Audio/PY4E)-logo

Python for Everybody (Audio/PY4E)

Education Podcasts

These are the audio lectures to supplement the textbook 'Python for Everybody: Exploring Information' and its associated web site www.py4e.com. There is also a video podcast of this material.

Location:

United States

Description:

These are the audio lectures to supplement the textbook 'Python for Everybody: Exploring Information' and its associated web site www.py4e.com. There is also a video podcast of this material.

Language:

English


Episodes
Ask host to enable sharing for playback control

1.1 Why Program

9/30/2016
Explore the nature of programming and how programming a computer is different than using a computer.

Duration:00:12:30

Ask host to enable sharing for playback control

1.2 Hardware Architecture

9/30/2016
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.

Duration:00:12:15

Ask host to enable sharing for playback control

1.3 Python as a Language

9/30/2016
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.

Duration:00:07:48

Ask host to enable sharing for playback control

1.4 What do we Say to Python?

9/30/2016
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.

Duration:00:12:45

Ask host to enable sharing for playback control

2.1 Building Blocks of Python

9/30/2016
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.

Duration:00:09:40

Ask host to enable sharing for playback control

2.2 Expressions

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

Duration:00:19:52

Ask host to enable sharing for playback control

3.1 If-Then-Else

9/30/2016
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).

Duration:00:13:29

Ask host to enable sharing for playback control

3.2 More Conditional Statements

9/30/2016
In this lecture 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.

Duration:00:13:51

Ask host to enable sharing for playback control

4.1 Using Pre-Defined Functions

9/30/2016
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.

Duration:00:10:29

Ask host to enable sharing for playback control

4.2 Building our Own Functions

9/30/2016
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.

Duration:00:12:34

Ask host to enable sharing for playback control

5.1 The Basics of Loops

9/30/2016
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.

Duration:00:09:58

Ask host to enable sharing for playback control

5.2 Definite Loops

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

Duration:00:06:51

Ask host to enable sharing for playback control

5.3 Patterns for Making Loops

9/30/2016
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.

Duration:00:08:43

Ask host to enable sharing for playback control

5.4 Loop Techniques

9/30/2016
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.

Duration:00:18:47

Ask host to enable sharing for playback control

6.1 Storing Text Data in Strings

9/30/2016
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.

Duration:00:10:42

Ask host to enable sharing for playback control

6.2 String Operations

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

Duration:00:18:44

Ask host to enable sharing for playback control

7.1 Reading Files

9/30/2016
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.

Duration:00:07:54

Ask host to enable sharing for playback control

7.2 Processing Data in Files

9/30/2016
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.

Duration:00:13:45

Ask host to enable sharing for playback control

8.1 Creating and Using Lists

9/30/2016
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.

Duration:00:10:56

Ask host to enable sharing for playback control

8.2 Manipulating Lists

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

Duration:00:09:36