Python Forum
Inheritance vs Instantiation for Python classes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inheritance vs Instantiation for Python classes
#5
I didn't invent the examples. I just copied them
I provided them to show the way they get written.

someone can instantiate an object and get all functionality from methods and add his functionality and top and this still work !!!
Reply


Messages In This Thread
RE: Inheritance vs Instantiation for Python classes - by mr_byte31 - Sep-23-2021, 04:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Classes rob101 4 562 Feb-05-2024, 06:51 PM
Last Post: rob101
  Understanding Python classes PythonNewbee 3 1,222 Nov-10-2022, 11:07 PM
Last Post: deanhystad
Sad Python classes PythonNewbee 4 1,078 Nov-09-2022, 01:19 PM
Last Post: deanhystad
  Understanding Python super() for classes OmegaRed94 1 1,858 Jun-09-2021, 09:02 AM
Last Post: buran
  Python classes Python_User 15 4,969 Aug-04-2020, 06:57 PM
Last Post: Python_User
  XlsxWriter and Python inheritance aquerci 1 2,524 May-05-2020, 09:36 AM
Last Post: buran
  Python Classes leodavinci1990 1 2,106 Nov-27-2019, 07:25 AM
Last Post: buran
  How inheritance works in Python ARV 1 1,853 Oct-03-2019, 03:06 PM
Last Post: Larz60+
  Problems with inheritance with classes internetguy 3 2,644 Jul-04-2019, 11:59 AM
Last Post: metulburr
  Unexpected Output using classes and inheritance langley 2 1,976 Jul-04-2019, 09:33 AM
Last Post: langley

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020