Python Forum
Understanding Python super() for classes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Understanding Python super() for classes
#1
Good day, Dear Pythonistas

Could you, please, explain in a simple way why super() is used for classes sometimes. I saw many examples dealing with single inheritance and multiple inheritances, it is explained that this approach could make the whole structure more manageable, but what are the conceptual framework and practical applications? (Is it typical for a large project or what?)
Reply


Messages In This Thread
Understanding Python super() for classes - by OmegaRed94 - Jun-09-2021, 08:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with super() Hoespilaar 2 368 Apr-10-2024, 10:10 AM
Last Post: Hoespilaar
  Python Classes rob101 4 627 Feb-05-2024, 06:51 PM
Last Post: rob101
  super() in class akbarza 1 551 Dec-19-2023, 12:55 PM
Last Post: menator01
  Understanding venv; How do I ensure my python script uses the environment every time? Calab 1 2,459 May-10-2023, 02:13 PM
Last Post: Calab
  New to python/coding Need help on Understanding why this code isn't working. Thanks! mat3372 8 1,942 May-09-2023, 08:47 AM
Last Post: buran
  Understanding Python classes PythonNewbee 3 1,304 Nov-10-2022, 11:07 PM
Last Post: deanhystad
Sad Python classes PythonNewbee 4 1,135 Nov-09-2022, 01:19 PM
Last Post: deanhystad
  super multiple parallel classes catlessness 2 1,400 Jun-07-2022, 02:35 PM
Last Post: deanhystad
  I need help understanding a program structure using classes CompleteNewb 21 6,402 Feb-24-2022, 07:15 PM
Last Post: deanhystad
  Inheritance vs Instantiation for Python classes mr_byte31 7 3,074 Oct-14-2021, 12:58 PM
Last Post: mr_byte31

Forum Jump:

User Panel Messages

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