Skip to content
Artwork for MIT OpenCourseWare: Free Courses from the institute
MIT OpenCourseWare: Free Courses from the institute · Today · 1 hr 24 min

Lecture 18: More Python Class Methods

MIT 6.100L Introduction to CS and Programming using Python, Fall 2022 Instructor: Ana Bell Uploaded 11-04-24 View the complete course: https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/ YouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP62A-ynp6v6-LGBCzeH3VAQB This lecture discusses decomposition and abstraction at work with Python classes. Bundling data and behaviors means you can use objects consistently. Dunder methods are abstracted by common operations, but they’re just methods behind the scenes! License: Creative Commons BY-NC-SA More information at https://ocw.mit.edu/terms More courses at https://ocw.mit.edu Support OCW at http://ow.ly/a1If50zVRlQ We encourage constructive comments and discussion on OCW’s YouTube and other social media channels. Personal attacks, hate speech, trolling, and inappropriate comments are not allowed and may be removed. More details at https://ocw.mit.edu/comments. Learn more about your ad choices. Visit megaphone.fm/adchoices Learn more about your ad choices. Visit megaphone.fm/adchoices

0:00-1:24:10

transcript

No transcript — this publisher did not publish one.

show notes

MIT 6.100L Introduction to CS and Programming using Python, Fall 2022
Instructor: Ana Bell

Uploaded 11-04-24

View the complete course: https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/
YouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP62A-ynp6v6-LGBCzeH3VAQB

This lecture discusses decomposition and abstraction at work with Python classes. Bundling data and behaviors means you can use objects consistently. Dunder methods are abstracted by common operations, but they’re just methods behind the scenes!

License: Creative Commons BY-NC-SA
More information at https://ocw.mit.edu/terms
More courses at https://ocw.mit.edu
Support OCW at http://ow.ly/a1If50zVRlQ

We encourage constructive comments and discussion on OCW’s YouTube and other social media channels. Personal attacks, hate speech, trolling, and inappropriate comments are not allowed and may be removed. More details at https://ocw.mit.edu/comments.



Learn more about your ad choices. Visit megaphone.fm/adchoices

Learn more about your ad choices. Visit megaphone.fm/adchoices

links7