Search for tag: "commands"

Lesson 20.1 Class Definitions

In this video we show you the basic format of a class definition. However, classes can contain a lot of features, so our classes will be very simple for this demonstration.

From  Hannah Lee on October 27th, 2020 38 plays

Lesson 16.1 The For-Loop

In this video we introduce a new control-structure: the for-loop. This control structure is specifically designed for processing iterable types like strings, tuples, and lists.

From  Hannah Lee on October 19th, 2020 29 plays

Lesson 9.10 Conditional Scripts

The only difference between a module and a script is how you run it. But we have seen Python files that do different things when you run them as a script or import them as a module. This is done with…

From  Hannah Lee on September 24th, 2020 4 plays

Lesson 9.1 Program Flow

Most of our code has been what is known as “straight line code”, meaning that it is executed in the order that it is written. But not all code works this way. In this video, we talk about…

From  Hannah Lee on September 24th, 2020 5 plays

Lesson 0.2 The Python Shell

The Python interactive shell is a program that is run within the command line. For right now, it is the primary way we will use Python. In this video we show how to start it, and some important…

From  Hannah Lee on September 4th, 2020 15 plays