Search for tag: "attributes"

Web Scraping in Python(BeautifulSoup)

Github page with all materials https://github.com/jgrips9/Web-Scraping-Fall-2023 Fill out evaluation form here.

From  Jacob Grippin 39 plays

Taking Flight 7/12/2021 11:30am

From  Jennifer Davis 3 plays

Lesson29.6 Animation Coroutines

Just as it was hard to design iterators with classes, it is also hard to design timed animation with classes. In this video, we show how to use coroutines to make animation design so much simpler.

From  Hannah Lee 65 plays

Lesson 29.5 Timed Animation

Our primary application of coroutines in the final assignment is timed animations. In this video we talk about what these are and how to design them with the GameApp class.

From  Hannah Lee 59 plays

Lesson 28.2 Iterable Classes

In this video, we show how to make our own iterable and iterator classes. These are actually tightly linked, and you need one to create the other.

From  Hannah Lee 73 plays

Lesson 27.10 Model Classes

Through the semester, you have essentially been writing application controllers. In the final assignment, you will need to do that again. But you will also be creating your own models this time. In…

From  Hannah Lee 54 plays

Lesson 27.8 Application Design

Game applications (and graphical applications in general) can get pretty complicated. In this video we talk about how to break up your code to make it more readable and more manageable. In some…

From  Hannah Lee 59 plays

Lesson 27.4 Application Input

The big difference between a game and a movie is the ability to respond to player input, be it from a mouse or a keyboard. In this video we show how to us the tools provided by the GameApp class to…

From  Hannah Lee 63 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 85 plays

Lesson 27.2 Animation Frames

The while-loop that drives the game is hidden. This is going to create some interest challenges, particularly when you need variables that carry over from animation frame to animation frame. In this…

From  Hannah Lee 76 plays

Zoom Nov. 10. Operators and Abstraction

in this presentation we review the Python data model, showing off the various operators we can define in Python. This is an area where Python is much more advanced than older object-oriented…

From  Hannah Lee 15 plays

Lesson 25.5 Custom Error Types

Now that we can raise an error of any type, it is time to make our own error types. In this video we show that this is incredibly simple, and needs almost no code.

From  Hannah Lee 60 plays

Lesson 24.4 Duck Typing

This partial typing from the previous video has a name. It is called duck typing. In this video we show both why this is so popular among Python programmers and also why it is so controversial.

From  Hannah Lee 74 plays

Lesson 24.3 Dynamic Attribute Access

Types guarantee that an object supports a set of operations (methods) and has a certain set of attributes. However, in this video we show that we can actually get this information without typing an…

From  Hannah Lee 70 plays

Zoom Nov. 5. Inheritance

In this presentation, we continue with several of the classes that we worked on last time. But this time, we create subclasses of them.On the exam, the class question will always be a two-parter. One…

From  Hannah Lee 20 plays

Zoom Nov. 3. Object-Oriented Design

In ths presentation, we will spend the time creating several example classes. This is another major part of the next exam.When we work with classes, it is very important to pay attention to…

From  Hannah Lee 32 plays