
Explore modern Python object oriented programming by learning classes, objects, data attributes, constants, and the special constructor, and discover access modifiers that enable building, maintaining, and designing sophisticated Python applications.
Learn how to download and install the Python IDLE from python.org, choose the Windows x86 installer, run the setup, and verify Python 3.4.2 in IDLE.
Explore the core concepts of Python object oriented programming, including classes, the default constructor, attributes, methods, and class variables, with step-by-step guidance and a short assignment.
Explore the class construct in Python, learn to declare classes, hide data from outside code with class and object data attributes, and define methods that operate on internal data.
Explore the __init__ method as a Python constructor that initializes a class's data attributes using self when a new object is created.
Explore data attributes by defining them in the class constructor using self and the dot operator, with examples of first name, last name, and user ID initialized.
Learn how class methods operate on data attributes, define methods with self, using def, and understand indentation in Python to implement operations within a class.
Explore class variables in Python, including defining, assigning, and accessing them with the class name and dot operator, using an employee example with count and pay rate.
Learn to access class data attributes in Python by using the class name and dot notation, then print values like first name, last name, age, and user id.
Explore Python's main method as a standalone function that starts a program, and see how it sits alongside a class and its __init__ constructor.
Explore the fundamentals of Python object oriented programming by defining classes, using the __init__ constructor, and working with attributes, methods, and class attributes.
Create a simple employee database project in Python object oriented programming fundamentals by defining a title and class data attributes, then print first name, last name, and age values.
The lecture explains how to define a person class with first name, last name, and age, and print these data attributes in a main function, including a tabbed welcome message.
Learn how to create a Python object from a class, access and change its data attributes, and call its methods, with a small project to apply these object-oriented concepts.
Define a class, implement an __init__ constructor with self, and assign attributes like first name, last name, and user id; create multiple objects in a main function.
Learn to obtain object attribute values in Python by defining a class, setting up a default constructor, and creating getter methods to access first name, last name, and user id.
Learn how to change object attribute values in Python by creating an employees class, initializing default attributes, and reassigning new values using dot notation and the assignment operator.
Explore how to access object methods in Python, using getter and setter methods to retrieve and modify attributes like first name, last name, and user id within a class.
Explore accessing object methods in Python using the dot operator to call getter methods and setter methods, display default values, and update first name, last name, and user id.
Learn how to create a Python object, define data attributes and methods. Access and update attribute values, and call object methods to perform operations.
Watch a live Python object oriented programming fundamentals demo that initializes first name, last name, user id, and position type to not available, then updates them.
This exercise explains stepwise how to build a Python class with a constructor, default attributes, and getter and setter methods, plus a main routine that updates an employee object.
Explore the constructor in Python object oriented programming fundamentals, learn how constructors create unique objects, and master access modifiers and class attributes through hands-on examples.
Pass arguments to the constructor to initialize attributes. Use self to assign first name, last name, and user id, and print details with a show employee details method.
Walks through defining a main method, creating Employee objects using a constructor with arguments, and displaying details via the show employee details method, using the dot operator to access attributes.
Explore destructors in Python and learn how they free memory like a garbage collector. See how del destroys objects to reclaim space and clean up resources.
Examine the public visibility of object attribute values outside the class and learn how a bank account example reveals the dangers of exposing attributes.
Explore how to implement private attributes in a bank account class using Python, demonstrate double underscores, and access via a getter to protect balance.
Learn how constructors initialize objects by assigning data and default values, create unique objects with separate memory and attributes, and apply private and public access modifiers and class attribute access.
Watch a live demo of creating three bank account objects with private attributes for first name, last name, account number, and balance, displaying their values.
Create a bank accounts class with an __init__ method to initialize first name, last name, account number, and balance, using private attributes and a get_account_details method to display each account.
Explore child classes and their role in inheritance, learn to build and connect parent classes, import them from files, override methods, and complete a guided project.
Build a child class from a parent bank account, inheriting methods and a private balance, using super to initialize a savings account with 200 in a live demo.
Create a savings account object, initialize its balance via the parent class, and exercise inherited methods to get balance, deposit, and withdraw, confirming the child class works.
Build a checking account as a child class that inherits from bank account, initialize balance via the parent constructor, and use deposit, withdraw, and get balance methods.
Learn inheritance by building a parent class bank account with data attributes and methods like deposit, withdraw, and get balance, using a private balance and an init constructor.
Builds the parent class for a bank account in Python, implementing deposit and withdrawal with an initial balance and if-else funds checks, and sets up inheritance for future child classes.
Use the import statement to split code into separate files, create a Python bank account hierarchy with parent and child classes, initialize balances, and print account balances.
Explore overriding parent methods in child classes to enable polymorphism, call inherited methods without changes, and see a bank account example illustrating same-name methods with different functionality.
Learn to build child and parent classes, reuse preexisting code through inheritance, and extend functionality. Explore importing classes and overriding methods with bank account examples.
Create savings and checking account objects, set initial balances, deposit funds, and display updated balances, illustrating Python object oriented programming fundamentals.
Import two Python files containing parent and child classes, instantiate savings and checking accounts with initial balances, perform deposits, and display updated balances to demonstrate object oriented programming.
Create a final project that demonstrates inheritance by modeling bank accounts with initial balances, deposits, and transferring funds from checking to savings, updating balances.
Create a unified account_type file with a bank account parent and savings and checking child classes; implement deposit, withdraw, and transfer with validation, then display balances.
Demonstrates transferring funds from a checking to a savings account using a transfer method, updating both balances, and using logic to prevent withdrawals when funds are insufficient.
Thank you for joining the Python object oriented course; this conclusion highlights basic concepts and invites you to explore more free resources via Google and the Python.org documentation.
Python is a big deal. More and more beginner programmers are choosing it as their first language to learn, which means its future is more than just bright - it’s dazzling. It makes coding faster, easier and fun. When combined with the object oriented programming approach these qualities are further enhanced, which means Python is virtually unstoppable. If you want to future-proof your programming skills, this is exactly what you need to learn.
Build and Enhance Python Applications
Get to Grips with Object Oriented Programming
This online course is designed with beginners in mind. Although it helps to already know the basics of Python, it’s not a requirement. You’ll be guided through the entire installation process before hitting the more challenging material. If your goal is to learn how to enhance, maintain and build highly-driven applications, then this is the course for you regardless of your skill level.
Once installation is complete you’ll dive straight into the various features and functions of Python including the class construct, attributes, methods, class variables and more. Then you’ll get to grips with the more advanced concepts. Object oriented programming in relation to Python, the constructor/destructor magic methods, and class inheritance are all given dedicated sections with live exercise demos and explanations at every stage.
As you progress through the course you’ll complete a final project based on real-world examples, to prepare you for undertaking your own OOP Python projects. By the end of this course, you’ll have a thorough understanding of Python, the object oriented programming approach, and how to combine the two.
About Python
Python is a high-level, general-purpose, dynamic programming language that is becoming ever more widespread in the programming world. It is readable, succinct, scalable, and can support multiple programming paradigms. It is now the most common ‘starter’ language taught on university programming courses and is seen by many as the future of coding.