Python Forum
init vs_init_ while defining method/function?
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
init vs_init_ while defining method/function?
#1
while defining method,what is the difference in
this:
def init(...........):

      ................................
 
and 
this:
def _init_(............):
     ................................
Reply


Messages In This Thread
init vs_init_ while defining method/function? - by hsunteik - Dec-24-2016, 08:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Defining function error rclaxton 1 534 Mar-27-2025, 11:42 AM
Last Post: buran
  Defining a function Hudjefa 6 1,144 Aug-24-2024, 02:36 PM
Last Post: snippsat
  Difference between method and attribute holding a function ulrich 2 938 Jun-30-2024, 08:35 AM
Last Post: snippsat
  i want to use type= as a function/method keyword argument Skaperen 9 3,655 Nov-06-2022, 04:28 AM
Last Post: Skaperen
  PyRun_SimpleFile calling multiprocessing Python Class cause endless init loop Xeno 2 2,046 Sep-19-2022, 02:32 AM
Last Post: Xeno
  Init an indefinite number of class MathisDELAGE 9 3,799 Feb-18-2022, 07:49 PM
Last Post: deanhystad
  Basic Inheritance, Why Use init udinjelek 5 3,191 Sep-29-2021, 06:03 PM
Last Post: deanhystad
  Conjugate Gradient having issues with defining A (function to solve [A]{x} = {b} ) DimosG 2 3,523 Sep-21-2021, 08:32 PM
Last Post: 1968Edwards
  Defining a function with input abcd 5 4,264 Feb-21-2021, 02:34 AM
Last Post: NullAdmin
  Building a method name in a function ffgth 9 5,030 Oct-19-2020, 01:21 PM
Last Post: buran

Forum Jump:

User Panel Messages

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