Skip to content

This repo covers the basics of Python's Object-Oriented Programming (OOP). It includes a reference image and a list of key concepts such as attributes, self, __init__, instance, class and static methods, @Property, and more. Ideal for beginners who want a quick visual and textual summary.

Notifications You must be signed in to change notification settings

mohitmaheshwari18/python-oop-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

python-oop-cheatsheet

This repo covers the basics of Python's Object-Oriented Programming (OOP). It includes a reference image and a list of key concepts such as attributes, self, init, instance, class and static methods, @property, and more. Ideal for beginners who want a quick visual and textual summary. This Python program displays an image and prints a list of key Object-Oriented Programming (OOP) concepts.

Image Display

The program uses IPython.display to show an image from a given URL.

The image is shown with a fixed width and height using the Image() function.

OOP Concepts List

A Python list named items stores important OOP terms such as:

self, cls, init, Attributes, Methods, Instance Method, Class Method, Static Method, Descriptor Protocol, @property, and @.setter.

Output

The program prints the heading “Python OOP Concepts visible in the image:”

Then it displays each concept one by one using a simple for loop.

About

This repo covers the basics of Python's Object-Oriented Programming (OOP). It includes a reference image and a list of key concepts such as attributes, self, __init__, instance, class and static methods, @Property, and more. Ideal for beginners who want a quick visual and textual summary.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published