In this Python Object-Oriented Tutorial, we will begin our series by learning how to create and use classes within Python. Classes allow us to logically group our data and functions in a way that is easy to reuse and also easy to build upon if need be. Let’s get started.
Python OOP 1 – Classes and Instances – https://youtu.be/ZDa-Z5JzLYM
Python OOP 2 – Class Variables – https://youtu.be/BJ-VvGyQxho
Python OOP 3 – Classmethods and Staticmethods – https://youtu.be/rq8cL2XMM5M
Python OOP 4 – Inheritance – https://youtu.be/RSl87lqOXDE
Python OOP 5 – Special (Magic/Dunder) Methods – https://youtu.be/3ohzBxoFHAY
Python OOP 6 – Property Decorators – https://youtu.be/jCzT9XFZ5bw
The code from this video can be found at:
https://github.com/CoreyMSchafer/code_snippets/tree/master/Object-Oriented
If you enjoy these videos and would like to support my channel, I would greatly appreciate any assistance through my Patreon account:
https://www.patreon.com/coreyms
Or a one-time contribution through PayPal:
https://goo.gl/649HFY
If you would like to see additional ways in which you can support the channel, you can check out my support page:
http://coreyms.com/support/
You can find me on:
My website – http://coreyms.com/
Facebook – https://www.facebook.com/CoreyMSchafer
Twitter – https://twitter.com/CoreyMSchafer
Google Plus – https://plus.google.com/+CoreySchafer44/posts
Tumblr – https://www.tumblr.com/blog/mycms
Amazon Auto Links: No products found.
Thank you. Great tutorial Corey
Excellent explanation. Thanks a lot for sharing! 🙂
How did you do that @4:33
Corey, I have a basic newbie question on instantiation: What are the advantages, in the greater OOP programming environment, of instantiating a programmer-defined class more than once?
Say I have a “Movies” class. Each instance of the class is a list containing a movie title, and perhaps a sublist of actors in the movie. Let’s say that I instantiated several movie objects. My question is, then what? What could I do with all these instances? I could print them out, and perhaps compare them in some ways. But how is instantiation in OOP better than manipulating a pointer in a database with functional programming. It seems to me that a program can really only deal with a set of movie information one at a time, so why fill up memory with objects?
Thanks in advance!
And as others have written, great series of lectures. So glad I found them. A comfortably fast pace. Thanks for the hard work.
After giving self.email=first+’.’+last+’@comapny.com’
How to print the email?
Don’t use dark screen it’s very hard to see
great video!
QUESTION; HOW DO WE CHANGE THINGS IN PYTHON? For instance, in the above example, how would I drop the email , last name and first name attributes and add a Social Security # attribute? And thank you for your very clear topic matter presentation, excellent sound quality and excellent coordination with the visuals.
thanks!!
Thank you for this tutorial, finally I found a tutorial about OOP which is not so complicated like the others that I watched.
Tell me which application you used in video
you are the best… Best ever way to make some one understand.. love from India
awesome!
The way you explain is really nice. Can you please add some videos on SOLID principle…or at least on Single Responsibility Principle for now?
What is the code editor used i this lesson…???
Hi Corey, any video coming up on abstraction?
This is sick! My students will appreciate this very much, Thanks
Damn Corey, thank you!
Best videos u will find on entire net. Clear explanation . Pace is good.
Focuses more on WHY TO instead on HOW TO which is awesome.
U are the first youtuber i subscribed . Keep up the good work..
I will surely contribute by Paypal ( when i start earning )
Corey, can you do a video on pdb? Thanks for all your video!!
i am completely beginner to coding.after started watching you’re videos find coding is awesome.i have suggested these videos my other 3 colleagues to learn python basics.Gained lot confidence.Thank you.Thank you from India.
Thank you, Cory. It’s difficult to find well-taught-quality python on the web. You’ve made a wonderful contribution!
Really great efforts to elaborating these stuffs in very easy manner.
Thank you so much for this video with SUBTITLE which is extremely helpful. I enjoyed it very much. I am going to watch your next video!
why the fuck people would downvote this ? Mindfuck.
best class tutorial in python I ever seen… Good job, Corey!
Thank you! Subscribed. By the way, what text editor are you using?
At 4:33 you clicked after all the 1’s and deleted them simultaneously. How did you do that?
Hey Corey which application do you use to write your code and how do you get the code to run
What version of python is this?
Hahahahaha thx bitch for the info hahahaha