Start a free Courses trial
to watch this video
**
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upHey everyone. 0:00 Object-oriented programming is a way of structuring code using objects. 0:01 But what are objects? 0:04 Well, we use objects to create code versions of real world and 0:06 conceptual things that we need to work with in our code. 0:09 We create objects to represent players, job tasks, emails, robots, and 0:12 anything in between. 0:16 If you know how to create your own objects, or classes, 0:17 you can build all sorts of helpful constructs for modeling your work in code. 0:20 On top of that, in Python, everything you ever interact with, 0:24 from variables to functions to Booleans, is an object. 0:27 Knowing more about object-oriented programming means you can customize and 0:30 adapt Python's built-in classes, like lists and strings, 0:33 through the specialized work that you need. 0:37 In this course we'll explore the basics of object-oriented programming in Python. 0:40 We'll create custom classes from scratch. 0:44 We'll use inheritance to reduce the amount of coding that we have to 0:46 do while making more and more powerful objects. 0:49 We'll build classes based on Python's built-ins and 0:51 we'll customize the built-ins to make more useful versions of them. 0:54 And we'll look at some of the more interesting powerful OO tools like 0:57 properties, class methods and Python's magic methods. 1:00 So, if you want to learn more about how Python works behind the scenes and 1:03 how to give your code more power and 1:06 design, start the object-oriented Python course right now. 1:08
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up