By Andy Brown
Download files and exercises for this tutorial from https://www.wiseowl.co.uk/python/videos/python-programming/classes/
Like most other modern programming languages, Python encourages you to code using classes (it's called object-orientated programming). This tutorial will teach you using a practical example of using classes, during which you will learn about objects, attributes/properties, methods, instantiation and much more besides!
Chapters
00:00 Topic list
01:53 Some words to start with
03:20 What classes are (our example)
05:49 Instance attributes (creating objects)
11:19 More on attributes
17:36 Instance methods (dong things to objects)
21:52 Class methods (other creation methods)
29:38 Read/write properties - what they are
32:46 Read/write properties - simple code
39:22 Read/write properties - working version
45:50 Dunder methods for documentation
49:13 Three thoughts to end with
Python playlist https://youtube.com/playlist?list=PLNIs-AWhQzckGrdnwITFlXGqiXTCAhWWi
If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can join this channel to get access to perks:
https://www.youtube.com/channel/UCbi5G5PjWBaQUFy7XU_O7yw/join
Or you can click this link https://www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching!
Visit https://www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Power BI, DAX, VBA, Python, Visual C#, Microsoft SQL Server, SQL Server Reporting Services SSRS, SQL Server Integration Services SSIS, Microsoft Access and more!