Python Forum
Why is there an __init__ statement within the __init__ definition
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why is there an __init__ statement within the __init__ definition
#6
Yes, I think that makes some sort of sense. So to clarify, I am calling this because I am using the another library, in this case Qt4, in other words, if I were just creating a basic program, not a GUI where I was just creating my own classes out of the basic python, I would be defining an init definition for the class, but the inner init would not be there as I would not be trying to inherit from anything else?
Reply


Messages In This Thread
RE: t - by buran - Feb-06-2017, 12:17 PM
RE: t - by Kebap - Feb-06-2017, 12:20 PM
RE: Why is there an __init__ statement within the __init__ definition - by iFunKtion - Feb-06-2017, 01:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  class definition and problem with a method HerrAyas 2 325 Apr-01-2024, 03:34 PM
Last Post: HerrAyas
  __init__() got multiple values for argument 'schema' dawid294 4 2,725 Jan-03-2024, 09:42 AM
Last Post: buran
  mutable argument in function definition akbarza 1 533 Dec-15-2023, 02:00 PM
Last Post: deanhystad
  error occuring in definition a class akbarza 3 799 Nov-26-2023, 09:28 AM
Last Post: Yoriz
  determine parameter type in definition function akbarza 1 630 Aug-24-2023, 01:46 PM
Last Post: deanhystad
  Initiating an attribute in a class __init__: question billykid999 8 1,481 May-02-2023, 09:09 PM
Last Post: billykid999
Question __init__ of Child Class zero_fX0 4 1,847 Mar-22-2023, 05:23 PM
Last Post: deanhystad
  [split] Explain the python code in this definition Led_Zeppelin 1 783 Jan-13-2023, 10:20 PM
Last Post: deanhystad
  Explain the python code in this definition Led_Zeppelin 1 1,139 Oct-27-2022, 04:04 AM
Last Post: deanhystad
  meaning of -> syntax in function definition DrakeSoft 5 2,048 Apr-09-2022, 07:45 AM
Last Post: DrakeSoft

Forum Jump:

User Panel Messages

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