Search for tag: "documentation"

Lesson 28.7 Iterator Chaining

Generators take iterators as input, but they also produce one as output. In this video we show how to chain iterators together, doing complex operations on our data.

From  Hannah Lee on December 3rd, 2020 22 plays

Lesson 27.5 Mouse Input

In the previous video we primarily focused on keyboard input. Mouse input (called “touch” by kivy) is a little more difficult. In this video we talk about how mouse input works and how to…

From  Hannah Lee on November 30th, 2020 37 plays

Lesson 27.3 The GameApp Class

In this video we introduce the GameApp class, which is a class written by your instructor. In the last assignment you will be creating a subclass of the class to run your game. This video highlights…

From  Hannah Lee on November 30th, 2020 48 plays

Lesson 23.6 The Python Data Model

Python has a lot of special methods than begin and end with double underscores. Together than make up the Python Data Model. In this video we look at the documentation of these methods and try to…

From  Hannah Lee on November 8th, 2020 39 plays

Lesson 22.4 The Subclass Hierarchy

Since every class other than object must be a subclass of another class, this can lead to some interesting “family trees” of classes. In this video we look at Kivy classes, and see how…

From  Hannah Lee on November 8th, 2020 31 plays

Lesson 15.6 List Methods

Lists have many of the same methods as tuples. But since they are mutable, they have even more. In this video we show off some of the mutable methods of lists, which are methods that can alter the…

From  Hannah Lee on October 10th, 2020 22 plays

Lesson 11.8 Object Methods

Objects have an interesting feature that we saw before we strings: they have methods in addition to functions. In this video we talk about those methods, and how they differ from string methods.

From  Hannah Lee on October 2nd, 2020 15 plays

Lesson 11.6 Attribute Invariants

When you work on Assignment 3, you will discover that the color objects have some significant restrictions on how they can be used. These restrictions are called attribute invariants, and they are…

From  Hannah Lee on October 2nd, 2020 16 plays

Lesson 6.4 Advanced String Methods

In the previous video, we showed how to call a string method if it had only one argument – the string. In this video we show you how to call arbitrary string methods, which can have many…

From  Hannah Lee on September 16th, 2020 17 plays

Zoom Sep. 10. Functions and Modules

In this class we talk about how to import optional features into Python. We also show how to make program files we can run.This class will follow the same format as the last one. We will reinforce…

From  Hannah Lee on September 11th, 2020 20 plays

Lesson 4.3 Module Structure

In this video we take a closer look at module files. We show what types of things we can put into a module file, and what their purpose is. In addition, after this video should have a better idea of…

From  Hannah Lee on September 9th, 2020 31 plays

Lesson 3.4 Python Documentation

While this new video/lecture format is allowing us to show you things we could not cover in year’s past, there is a limit to how much we can show you. Sometimes you are just going to need to…

From  Hannah Lee on September 9th, 2020 28 plays

Lesson 3.3 Module-Based Functions

Python has very few functions built-in. All other functions are provided by modules, special files that add optional functionality to Python. In this video we show how to use these modules to…

From  Hannah Lee on September 9th, 2020 27 plays

Lesson 3.1 Built-In Functions

The easiest functions to use in Python are those that are built into it. They are listed on the Python Documentation page. In this video we examine some of these and show the syntax for how to use…

From  Hannah Lee on September 9th, 2020 29 plays