|
Zoom Recording ID: 97470844866
UUID: f1VhPhybRwaIZHAbdQQZdg==
Meeting Time: 2020-11-30T21:01:09Z
|
|
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…
|
|
Whenever we have enforced preconditions, we have always used the type function. In this video we show why that is a problem, particularly when we want to use an object argument that is a subclass of…
|
|
Operator overloading allows us to redefine the meaning of + or * on objects of our class. But sometimes we want to mix together types like a fraction and integer. In this video we show that it is…
|
|
Previously when we compared objects, we compared them attribute-by-attribute. That is because the meaning of == on objects is less clear. As we show in this video, that is because equality (and the…
|
|
|
|
In out introduction of the basic types of Python, we saw a lot of different operations. What happens when we start to mix these operations together? As we see in this video, we have to worry about…
|
|
The most familiar type in Python is int, the set of integers. It supports all of the basic mathematical expressions that you expect, like addition, subtraction, multiplication, and division. However,…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|