This tutorial covers an introduction to Object Oriented Programming in Python. After watching this video you should feel comfortable creating a basic class. This includes a constructor (__init__ function), and class methods. You should feel comfortable using parameters in a class constructor as well as class methods. Class methods should be able to access class properties using self. You should also understand that the 'self' variable needs to be passed into all methods within a class in python.
Files:
rps.py: https://forums.kjdelectronics.com/applications/core/interface/file/attachment.php?id=51
rps_annotated.py: https://forums.kjdelectronics.com/applications/core/interface/file/attachment.php?id=52
Presentation - Introduction to Object Oriented Programming.pdf: https://forums.kjdelectronics.com/applications/core/interface/file/attachment.php?id=50
Dedicated Forum Thread (Also has code): https://forums.kjdelectronics.com/index.php?/topic/455-python-beginner-tutorial-9-introduction-to-classes-object-oriented-programming/
Forum: https://forums.kjdelectronics.com/
Store: https://kjdelectronics.com
Instagram: https://www.instagram.com/kjdelectronics/
Twitter: https://twitter.com/kjdElectronics
Facebook: https://www.facebook.com/kjdelectronics/