In Python, you can not only extend our own custom classes, but we can also inherit from the built-in classes in Python. In this video lesson, we extend built-in string class in Python and that will provide us with in-built methods of String. We can also add additional methods to implement in our class.
There is also another concept if you want to make use of Python's classes in your own class. In this video, we use inbuilt dict class in our Shop class to maintain the inventory records.
Learn how to extend abd use built-in classes in Python.
If you like our content, click on SUBSCRIBE button and click on Bell icon to receive latest and greatest updates of my video lessons.
Follow us on Facebook, Twitter, Instagram
Facebook Link: / techprogrammer1
Twitter Link: / techprogrammer1
Tumblr Blog: https://www.tumblr.com/blog/techprogr...
Sur cette page du site, vous pouvez voir la vidéo en ligne Python OOP - Extending and Using Python Built-in Classes durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Tech Programmer 10 août 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,371 fois et il a aimé 23 téléspectateurs. Bon visionnage!