Python Forum
Base class variables are not accessible
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Base class variables are not accessible
#3
Hi Wooee,

Thanks for replying back. I thought __init__() is similar to a constructor in other programming language(c++) and so it will be called once we create a derived class object.
Reply


Messages In This Thread
RE: Base class variables are not accessible - by Prabakaran141 - Oct-31-2018, 05:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unchangeable variables in a class? Calab 12 1,675 Sep-15-2023, 07:15 PM
Last Post: deanhystad
  Global variables or local accessible caslor 4 1,071 Jan-27-2023, 05:32 PM
Last Post: caslor
  Calling a base class variable from an inherited class CompleteNewb 3 1,750 Jan-20-2022, 04:50 AM
Last Post: CompleteNewb
  Class variables and Multiprocessing(or concurrent.futures.ProcessPoolExecutor) Tomli 5 3,958 Nov-12-2021, 09:55 PM
Last Post: snippsat
  How to pass variables from one class to another hobbyist 18 10,980 Oct-01-2021, 05:54 PM
Last Post: deanhystad
  Acess variables from class samuelbachorik 3 1,930 Aug-20-2021, 02:55 PM
Last Post: deanhystad
  Importing issues with base class for inheritance riccardoob 5 4,795 May-19-2021, 05:18 PM
Last Post: snippsat
  Behavior of Abstract Base Class dgrunwal 4 2,241 Oct-15-2020, 07:19 PM
Last Post: Gribouillis
  Class variables menator01 2 2,047 Jun-04-2020, 04:23 PM
Last Post: Yoriz
  How to make Python 3.7.6 accessible to users Doguhan 4 2,830 May-19-2020, 05:36 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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