• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
+ 1

Please explain about _init_ and self method in python ?

pythonmethodsobjectselfoops__init__object_oriented_
6th Oct 2018, 1:18 PM
Praveen Kumar
Praveen Kumar - avatar
2 Antworten
+ 6
__init__ is called when you create an instance self means object instance and you can change it to whatever you want https://stackoverflow.com/questions/625083/JUMP_LINK__&&__python__&&__JUMP_LINK-init-and-self-what-do-they-do
6th Oct 2018, 2:14 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 1
thanks man
6th Oct 2018, 4:45 PM
Praveen Kumar
Praveen Kumar - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
My codebits section is full of deleted codes
13 Votes
Ai generated practices
1 Votes
Where did mess up....
1 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
help!!! How to build portfolio? I am in last year of highschool and still noob lol
0 Votes
Hi who can hel me please
0 Votes
Where can I find python and SQL projects to work on for my portfolio that are beginner to intermediate?
1 Votes