Object-oriented Python
by
Reuven M. Lerner
Login
Buy for $150
25 len
Object-oriented Python
/
Section 6: Magic methods
Object-oriented Python
Learn the how and why of Python objects — and write more powerful code in less time
Buy for $150
Learn more
Already enrolled?
Sign in to continue learning.
Table of contents
Object-oriented Python
by
Reuven M. Lerner
ui-24px-outline-1_lock
Section 1: Introduction
Section 1: Introduction
Draft
01 Welcome
Draft
01 Welcome
Draft
02 What is object oriented programming?
Draft
02 What is object oriented programming?
ui-24px-outline-1_lock
Section 2: Defining a class
Section 2: Defining a class
Draft
03 What are Python objects?
Draft
03 What are Python objects?
Draft
04 Methods vs. functions
Draft
04 Methods vs. functions
Draft
05 The simplest Python class
Draft
05 The simplest Python class
Draft
06 Adding attributes
Draft
06 Adding attributes
Draft
07 __init__
Draft
07 __init__
Draft
08 __init__ and parameters
Draft
08 __init__ and parameters
Draft
09 More examples of objects
Draft
09 More examples of objects
Draft
10 Class exercises
Draft
10 Class exercises
Draft
exercises-1.txt
Draft
exercises-1.txt
Draft
11 Class exercise solutions
Draft
11 Class exercise solutions
ui-24px-outline-1_lock
Section 3: Methods
Section 3: Methods
Draft
12 Methods
Draft
12 Methods
Draft
13 Method examples
Draft
13 Method examples
Draft
14 Method exercises
Draft
14 Method exercises
Draft
exercises-2.txt
Draft
exercises-2.txt
Draft
15 Method exercise solutions
Draft
15 Method exercise solutions
Draft
16 Visualizing methods
Draft
16 Visualizing methods
ui-24px-outline-1_lock
Section 4: Class attributes
Section 4: Class attributes
Draft
17 Classes vs. functions
Draft
17 Classes vs. functions
Draft
18 Class attributes
Draft
18 Class attributes
Draft
19 Class attribute exercises
Draft
19 Class attribute exercises
Draft
exercises-3.txt
Draft
exercises-3.txt
Draft
20 Class attribute exercise solutions
Draft
20 Class attribute exercise solutions
ui-24px-outline-1_lock
Section 5: Inheritance
Section 5: Inheritance
Draft
21 Basic inheritance
Draft
21 Basic inheritance
Draft
exercises-4.txt
Draft
exercises-4.txt
Draft
22 Inheritance exercises
Draft
22 Inheritance exercises
Draft
23 Inheritance exercise solutions
Draft
23 Inheritance exercise solutions
Draft
24 More on inheritance
Draft
24 More on inheritance
ui-24px-outline-1_lock
Section 6: Magic methods
Section 6: Magic methods
Draft
25 len
Draft
25 len
Draft
26 __str__ and __repr__
Draft
26 __str__ and __repr__
Draft
27 Magic method exercises
Draft
27 Magic method exercises
Draft
exercises-5.txt
Draft
exercises-5.txt
Draft
28 Magic method exercise solutions
Draft
28 Magic method exercise solutions
Draft
29 Magic methods everywhere
Draft
29 Magic methods everywhere
ui-24px-outline-1_lock
Section 7: Summary project
Section 7: Summary project
Draft
30 Summary exercise
Draft
30 Summary exercise
Draft
exercises-6.txt
Draft
exercises-6.txt
Draft
31 Summary exercise solution
Draft
31 Summary exercise solution
ui-24px-outline-1_lock
Section 8: Conclusion
Section 8: Conclusion
Draft
32 Summary
Draft
32 Summary
ui-24px-outline-1_lock
Resources
Resources
Draft
Python objects.ipynb
Draft
Python objects.ipynb
Draft
11 Objects.pdf
Draft
11 Objects.pdf
Welcome!
Enter your info below to login.
Your email
Your password
Login
Forgot your password?