08:10Everything you need to know about Classes in Python! (Object Oriented Programming Tutorial)
From the creator
Follow me https://instagram.com/keithgalli for more tech content! Join the Python Army to get access to perks! YouTube - https://www.youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join Patreon - https://www.patreon.com/keithgalli Download Kite: https://www.kite.com/ In this video we overview the main things I think are pointing when you are starting to learn about classes & integrate them in your everyday code. In this video we cover: - why should we use object oriented programming (oop) ? - the basics of defining a class in python (__init__) - class methods - what the heck is "self"? - Inheritance & Subclassing - Operator overriding A timeline is in the comments. If there are topics you felt like I left out, let me know in the comments! I'll potentially make a follow up video to this one. For an example of me structuring my code with classes, check out this machine learning video:https://youtu.be/M9Itm95JzL0 If you want to practice using classes, try rewriting the game we build in this video to use them:https://youtu.be/-8n91btt5d8 ^(I'll update the github repo for that video with my solution to this soon) Resources: Github code: https://github.com/KeithGalli/python-classes-tutorial Operator overloading: https://www.geeksforgeeks.org/operator-overloading-in-python/ --------------------- Follow me on social media! Instagram | https://www.instagram.com/keithgalli/ Twitter | https://twitter.com/keithgalli --------------------- Today’s merch! Creator: @ChilledCow Web
Published 2020-02-29 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





