Рет қаралды 2,788
#oop #objectorientedprogramming #encapsulation #python #pythonprogramming #accessmodifier
In this video, we will talk about how underscore changes the accessibility of the data. "Access modifier" is the term used to address this.
There are 3 types of access modifiers:
- Public Access Modifier
- Protected Access Modifier
- Private Access Modifier
More 2 Minutes Python Tutorial:
Async/Await in Python: • asyncio in Python - As...
_new_ Vs _init_ in Python: • __new__ VS __init__ in...
What is race condition and how to solve it? • Race Condition and How...
What are these (/ and *) parameters in function? • What are these (/ and ...
How to create a MySQL DB in Python: • Create a MySQL Databas...
Yield Keyword in Python: • Python Yield Keyword??...
Class in Python: • How to Create a Class ...
Decorators in Python: • What are Decorators in...
List comprehension in Python: • How to use list compre...
How to use map() in Python: • How to use map() funct...
reverse() vs. reversed() in Python: • Python's reverse() Vs ...
Why Flask(__name__) is Used When Creating a Flask App? • Why Flask(__name__) is...
What is Global Interpreter Lock in Python? • Global Interpreter Loc...
What is a Lambda Function in Python? • What is a Lambda Funct...
Why __init__.py File is Used in Python Projects: • Why __init__.py File i...
if _name_ == "__main__" in Python: • What if __name__ == '_...
Python's seek() and tell() functions in 2 Minutes: • Understanding Python's...
- Python Threading in 2 Minutes: • Python Threading in 2 ...
- Python's super() function in 2 Minutes: • Python's super() Funct...
- How to Use *args and **kwargs in 2 Minutes: • How to Use *args and *...
- Python's ABC (Abstract Base Class) in 2 Minutes: • Python's ABC (Abstract...
- Python's _init_ Method in 2 Minutes: • Python's __init__ Meth...
Python's _getitem_ Method in 2 Minutes: • Python's __getitem__ M...
Subscribe to / @2minutespy for more such videos.
@2MinutesPy