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...
На этой странице сайта вы можете посмотреть видео онлайн Python OOP - Extending and Using Python Built-in Classes длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Tech Programmer 10 Август 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,371 раз и оно понравилось 23 зрителям. Приятного просмотра!