Python for network engineers
latest
  • Download PDF/Epub
  • Introduction
  • Book resources
  • I. Python basics
  • II. Code reuse
  • III. Regular expressions
  • IV. Data writing and transmission
  • V. Working with network devices
  • VI. Basics of object-oriented programming
    • 22. OOP basics
      • OOP basics
      • Class creation
      • Method creation
      • Parameter self
      • Method __init__
      • Class example
      • Class namespace
      • Class variables
      • Tasks
    • 23. Special methods
    • 24. Inheritance
  • VII. Working with databases
  • VIII. Additional information
  • What’s next
Python for network engineers
  • Docs »
  • VI. Basics of object-oriented programming »
  • 22. OOP basics
Next Previous

22. OOP basics¶

  • OOP basics
  • Class creation
  • Method creation
  • Parameter self
  • Method __init__
  • Class example
  • Class namespace
  • Class variables
  • Tasks
Next Previous

© 2015-2022, Natasha Samoylenko. Last updated on Jan 16, 2022. Translated from Russian by Aidar Khairullin

Built with Sphinx using a theme provided by Read the Docs.

This work is licensed under a CC-BY-SA-4.0.

Read the Docs v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.