Python Forum
Generating a student's transcript [OOP concept]
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generating a student's transcript [OOP concept]
#3
It looks like you misunderstand OOP concept. You just wrap some functions disguised as __init__() method of a "class" and then call them by instantiating the class while throwing away the created instance.
Also you pass some arguments, like location in the __init__ method of demographics, but don't use it at all.
I would suggest you rethink your approach.
Class is a blue-print of an object you want to create [multiple] instances of. For example a Student class would be a good example. Then it may have different methods and properties (i.e. attributes)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: Generating a student's transcript [OOP concept] - by buran - Dec-01-2020, 06:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Student project - alert action when X happens Y amt of times, how? unknown00 2 1,900 Aug-25-2021, 08:07 PM
Last Post: namarang
  Student grader and sorter for assignment RazeAD 7 3,327 Feb-11-2021, 06:29 AM
Last Post: RazeAD
  Create code for input names and score for 15 student Davin 2 2,178 Sep-21-2020, 08:49 AM
Last Post: DeaD_EyE
  New Python Student = Does this code look right? musicjoeyoung 6 3,587 May-07-2020, 02:39 PM
Last Post: musicjoeyoung
  Understanding the "self" concept peace 7 3,572 Feb-10-2020, 08:21 PM
Last Post: nilamo
  Help learning a concept Ccjake 2 2,450 Jan-22-2019, 01:35 AM
Last Post: Ccjake
  Student grade program help debug ccm1776 3 5,319 Nov-14-2018, 02:41 AM
Last Post: stullis

Forum Jump:

User Panel Messages

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