Python for Everybody (Audio/PY4E) artwork

Python for Everybody (Audio/PY4E)

57 episodes - English - Latest episode: over 7 years ago - ★★★★★ - 55 ratings

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.

How To Education Technology python python3 py4e intro introductory beginning data datamining programming
Homepage Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed

Episodes

1.1 Why Program

October 01, 2016 03:00 - 12 minutes - 750 Bytes

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

1.2 Hardware Architecture

October 01, 2016 02:00 - 12 minutes - 735 Bytes

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.

1.3 Python as a Language

October 01, 2016 01:00 - 7 minutes - 468 Bytes

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.

1.4 What do we Say to Python?

October 01, 2016 00:00 - 12 minutes - 765 Bytes

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.

2.1 Building Blocks of Python

September 30, 2016 23:00 - 9 minutes - 580 Bytes

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.

2.2 Expressions

September 30, 2016 22:00 - 19 minutes - 1.16 KB

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

3.1 If-Then-Else

September 30, 2016 21:00 - 13 minutes - 809 Bytes

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).

3.2 More Conditional Statements

September 30, 2016 20:00 - 13 minutes - 831 Bytes

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.

4.1 Using Pre-Defined Functions

September 30, 2016 19:00 - 10 minutes - 629 Bytes

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.

4.2 Building our Own Functions

September 30, 2016 18:00 - 12 minutes - 754 Bytes

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.

5.1 The Basics of Loops

September 30, 2016 17:00 - 9 minutes - 598 Bytes

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.

5.2 Definite Loops

September 30, 2016 16:00 - 6 minutes - 411 Bytes

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

5.3 Patterns for Making Loops

September 30, 2016 15:00 - 8 minutes - 523 Bytes

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.

5.4 Loop Techniques

September 30, 2016 14:00 - 18 minutes - 1.1 KB

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.

6.1 Storing Text Data in Strings

September 30, 2016 13:00 - 10 minutes - 642 Bytes

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.

6.2 String Operations

September 30, 2016 12:00 - 18 minutes - 1.1 KB

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

7.1 Reading Files

September 30, 2016 11:00 - 7 minutes - 474 Bytes

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

September 30, 2016 10:00 - 13 minutes - 826 Bytes

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

September 30, 2016 09:00 - 10 minutes - 656 Bytes

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

September 30, 2016 08:00 - 9 minutes - 576 Bytes

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

8.3 Strings and Lists

September 30, 2016 07:00 - 8 minutes - 482 Bytes

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

9.1 Python Dictionaries

September 30, 2016 06:00 - 8 minutes - 483 Bytes

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

September 30, 2016 05:00 - 9 minutes - 566 Bytes

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

September 30, 2016 04:00 - 11 minutes - 714 Bytes

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

September 30, 2016 03:00 - 9 minutes - 587 Bytes

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

September 30, 2016 02:00 - 12 minutes - 743 Bytes

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

Worked Example: Sorting Dictionaries

September 30, 2016 01:00 - 10 minutes - 605 Bytes

Worked Example: Sorting Dictionaries

11.1 Introduction to Regular Expressions

September 30, 2016 00:00 - 10 minutes - 646 Bytes

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

11.2 Matching and Extracting Data

September 29, 2016 23:00 - 8 minutes - 526 Bytes

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

September 29, 2016 22:00 - 8 minutes - 531 Bytes

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)

September 29, 2016 21:00 - 7 minutes - 463 Bytes

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

12.2 Hypertext Transport Protocol (HTTP)

September 29, 2016 20:00 - 9 minutes - 566 Bytes

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

September 29, 2016 19:00 - 4 minutes - 275 Bytes

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

September 29, 2016 18:00 - 11 minutes - 674 Bytes

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

12.5 Retrieving Web Pages

September 29, 2016 17:00 - 5 minutes - 330 Bytes

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

12.6 Parsing Web Pages

September 29, 2016 16:00 - 6 minutes - 399 Bytes

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.

13.1 Data on the Web

September 29, 2016 15:00 - 2 minutes - 168 Bytes

We look at two different ways to format data for transmission across the network including JavaScript Object Notation (JSON) and eXtended Markup Language (XML).

13.2 eXtensible Markup Language (XML)

September 29, 2016 14:00 - 5 minutes - 342 Bytes

We look at how data is represented using the XML format.

13.3 XML Schema

September 29, 2016 13:00 - 14 minutes - 848 Bytes

We look at how we can use XML Schema to determine whether or not a particular bit of XML is valid.

13.4 JavaScript Object Notation

September 29, 2016 12:00 - 6 minutes - 388 Bytes

We learn about the popular JSON data format and how to handle the JSON data in Python.

13.5 Service Oriented Approach (SOA)

September 29, 2016 11:00 - 2 minutes - 121 Bytes

We talk briefly about how applications can be built over time to depend on services provide other applications.

13.6 Using Application Programming Interfaces

September 29, 2016 10:00 - 7 minutes - 424 Bytes

We explore using a Google API that can be used to query location data and parse the JSON that is returned.

13.7 Securing API Requests

September 29, 2016 09:00 - 10 minutes - 611 Bytes

We explore the use of OAuth to communicate sign requests to establish identity when using the Twitter API.

14.1 Object Oriented Definitions and Terminology

September 29, 2016 08:00 - 10 minutes - 639 Bytes

We look at how Python mentions objects in its documentation as well as talk about why philosophy of object-oriented programming. We explore some OOP terms like class, object, instance, method, and attribute.

14.2 Our First Class and Object

September 29, 2016 07:00 - 8 minutes - 498 Bytes

We look at how use create a new class in Python and then construct a new object from that class. We also look at some of the Python objects (like strings) that we have been using all along.

14.3 Object Life Cycle

September 29, 2016 06:00 - 6 minutes - 385 Bytes

We look at how we as the developers of a Python class can interact with the moment of construction and destruction of various objects created using the class.

14.4 Object Inheritance

September 29, 2016 05:00 - 7 minutes - 457 Bytes

We look at how we can make a new class by inheriting all of the attributes and methods of a parent class and then extend the new class with additional attributes and methods.

15.1 Relational Databases

September 29, 2016 04:00 - 15 minutes - 940 Bytes

We look at the history of database systems, learn the terminology of database systems, and review some of the common database systems that are in use.

15.2 Single Table SQL

September 29, 2016 03:00 - 10 minutes - 606 Bytes

We learn about how we can use Structured Query Language (SQL) to insert (create), read, update, and delete data in a single database table.

15.3 Building a Relational Model

September 29, 2016 02:00 - 8 minutes - 523 Bytes

We look at how we can take the various data elements that will be modeled in an application and distribute them across several tables efficiently. We learn about the basic rules of database design.