text
stringlengths
1
81
start
float64
0
10.1k
duration
float64
0
24.9
all at once this introduction to
5,929.52
4.079
object-oriented programming but it might
5,931.199
4.48
come as quite a surprise that even
5,933.599
5.201
though we might have identified oop by
5,935.679
6.761
name in weeks past we've all been using
5,938.8
6.16
classes and objects for weeks now in
5,942.44
4.32
this class in fact if you think back on
5,944.96
3.239
one of the very first things we did in
5,946.76
3.479
this class we used integers and just got
5,948.199
4.4
integers from the user but if you
5,950.239
4.841
haven't already if you go and dig into
5,952.599
4.961
the documentation for integers which
5,955.08
4.96
again lives at this URL here you would
5,957.56
6.559
actually find that int itself is and has
5,960.04
7.119
been for weeks a class and in fact this
5,964.119
5.161
is the signature of the Constructor call
5,967.159
5.52
for an INT whereby you pass in X like a
5,969.28
6.08
number quote unquote 50 or quote unquote
5,972.679
4.881
something else you pass in optionally
5,975.36
5.239
the base 10 for decimal two for binary
5,977.56
5.88
or anything else and that int function
5,980.599
4.961
will actually return to you all this
5,983.44
6.679
time an object of type int that is to
5,985.56
7.36
say int is a class it is a template a
5,990.119
4.52
blueprint for creating integers in
5,992.92
3.679
memory and anytime you and I have
5,994.639
3.761
converted a string for instance to an
5,996.599
4.801
INT you and I have been creating an
5,998.4
5.44
object of type int that was calling
6,001.4
5.12
apparently the underscore uncore init
6,003.84
4.2
underscore underscore method that
6,006.52
3.44
someone else the authors of python wrote
6,008.04
4.559
to give us back that proper integer
6,009.96
5.32
besides that if you can believe it stirs
6,012.599
4.841
strings in Python have been classes
6,015.28
4
since the first week of this class as
6,017.44
3.719
well if you look up the documentation
6,019.28
4.24
for a stir which lives at a similar URL
6,021.159
4.321
there you will find that when you
6,023.52
4.88
instantiate that is create a stir it
6,025.48
5.92
takes optionally a parameter called
6,028.4
4.68
object here the default value of which
6,031.4
3.719
is just quote unquote which allows you
6,033.08
3.92
to create in effect an empty string a
6,035.119
4.321
blank string if you will but anytime you
6,037
4.639
and I have created stirs or even used
6,039.44
4.32
explicitly this stir function you are
6,041.639
5.801
getting back an object of type stir
6,043.76
5.68
anytime you and I have forced a string
6,047.44
5.239
to lowercase per the documentation using
6,049.44
5.48
syntax like this you and I have been
6,052.679
5.56
taking an object of type stir and
6,054.92
5.96
forcing it all to lowercase by calling a
6,058.239
5.88
method called Lower a method that the
6,060.88
6.52
authors of python built into the stir
6,064.119
5.361
class but it's been there from the gecko
6,067.4
3.64
so this notion of methods is not even
6,069.48
3.36
new today you would have been doing it
6,071.04
3.199
for this long if you've ever called
6,072.84
3.24
strip to remove the leading and the
6,074.239
3.761
trailing Whit space from a string in
6,076.08
4.079
Python you are calling another method
6,078
4.48
that came with with python written by
6,080.159
3.881
the authors of python and even though we
6,082.48
3.6
didn't call it a class at the time a
6,084.04
6.159
stir all this time has been a class and
6,086.08
6.8
instances of strings are themselves
6,090.199
4.881
objects and those objects come therefore
6,092.88
4.16
with these functions built in AKA
6,095.08
3.8
methods that allow us to do things like
6,097.04
4.24
force to lowercase and strip Whit space
6,098.88
4.44
from the beginning and end let's do
6,101.28
4.56
another list anytime you've created a
6,103.32
5.76
list either uh either syntactically with
6,105.84
5.319
square brackets or literally with l l i
6,109.08
4.2
s open parenthesis close parenthesis
6,111.159
4
which is also possible you have been
6,113.28
3.56
using a class if you go to the
6,115.159
4
documentation for list at this similar
6,116.84
4.64
URL here or more specifically the
6,119.159
4.881
tutorial on lists here in Python you
6,121.48
5.52
will see that a list is and has been
6,124.04
5.44
since the early weeks of this class A
6,127
6.679
Class itself and that list class takes
6,129.48
6.719
as part of its uh initialization an
6,133.679
4.56
optional iterable something that can be
6,136.199
4.641
iterated over like one comma 2 comma 3
6,138.239
5.121
or some list of values and you can then
6,140.84
5.12
get back a list containing those same
6,143.36
5.2
iterable values if you've ever appended
6,145.96
4.84
something to a list in this class as I
6,148.56
3.8
have myself in the past you've been
6,150.8
4.52
using a method called aend that comes
6,152.36
5.08
with the list class that per the X here
6,155.32
3.839
takes an argument that allows you to
6,157.44
5.32
append something to the current list AKA
6,159.159
5.96
self in the context of that method we
6,162.76
4
can do this all day long if you've used
6,165.119
4.641
a dictionary or a dict in Python I've
6,166.76
4.839
actually all this time been calling them
6,169.76
4.76