YUNOVA · Python programming · Module 12: Object-Oriented Python

Python me __init__ constructor aur self

Notes for offline study · 30 November 2026

Python me __init__ constructor aur self

Key points

  • यह वह function है जो object बनते ही अपने आप चलता है।
  • self उसी object की तरफ़ इशारा करता है जिस पर काम हो रहा है।
  • self के साथ नाम लिखकर value object के अंदर रख दी जाती है।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.