Spring til indhold
Python for Everybody (py4e.com)

Alle episoder

Python for Everybody (py4e.com) · 86 episoder · Side 1 af 3

1.1 Why Program
1. okt. 2016 12m

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

1.2 Hardware Architecture
1. okt. 2016 12m

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

1.3 Python as a Language
1. okt. 2016 7m

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

1.4 What do we Say to Python?
1. okt. 2016 12m

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.

Installing Python 3 on a Macintosh
30. sep. 2016 4m

Installing Python 3 on a Macintosh

Code Walkthrough: Hello World
30. sep. 2016 5m

Code Walkthrough: Hello World

2.1 Building Blocks of Python
30. sep. 2016 9m

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

2.2 Expressions
30. sep. 2016 19m

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

Code Walkthrough: Exercise 2.2
30. sep. 2016 6m

Code Walkthrough: Exercise 2.2

Code Walkthrough: Exercise 2.3
30. sep. 2016 7m

Code Walkthrough: Exercise 2.3

3.1 If-Then-Else
30. sep. 2016 11m

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

3.2 More Conditional Statements
30. sep. 2016 13m

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

Code Walkthrough: Exercise 3.1
30. sep. 2016 12m

Code Walkthrough: Exercise 3.1

Code Walkthrough: Exercise 3.2
30. sep. 2016 9m

Code Walkthrough: Exercise 3.2

4.1 Using Pre-Defined Functions
30. sep. 2016 10m

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
30. sep. 2016 12m

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.

Code Walkthrough: Exercise 4.6
30. sep. 2016 10m

Code Walkthrough: Exercise 4.6

5.1 The Basics of Loops
30. sep. 2016 9m

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

5.2 Definite Loops
30. sep. 2016 6m

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

5.3 Patterns for Making Loops
30. sep. 2016 8m

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

5.4 Loop Techniques
30. sep. 2016 18m

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

Worked Exercise: Exercise 5.1
30. sep. 2016 8m

Worked Exercise: Exercise 5.1

6.1 Storing Text Data in Strings
30. sep. 2016 10m

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
30. sep. 2016 18m

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

Worked Example: Exercise 6.5
30. sep. 2016 8m

Worked Example: Exercise 6.5

7.1 Reading Files
30. sep. 2016 7m

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
30. sep. 2016 13m

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

Worked Example: Exercise 7.1
30. sep. 2016 9m

Worked Example: Exercise 7.1

8.1 Creating and Using Lists
29. sep. 2016 10m

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
29. sep. 2016 9m

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