
- Python Basic Tutorial
- Python - Home
- Python - Overview
- Python - Environment Setup
- Python - Basic Syntax
- Python - Comments
- Python - Variables
- Python - Data Types
- Python - Operators
- Python - Decision Making
- Python - Loops
- Python - Numbers
- Python - Strings
- Python - Lists
- Python - Tuples
- Python - Dictionary
- Python - Date & Time
- Python - Functions
- Python - Modules
- Python - Files I/O
- Python - Exceptions
What is Data Hiding in Python Object Oriented Programming?
According to Python docs, "data hiding" is about isolating the client from (part of) the implementation. Some objects of a module can be internal to the module and invisible and inaccessible to its users. As such, this is a method to avoid dependency and provide security at the same time. The users of an application can know how to use the application but do not need to know how the application works. There is no need to in fact. This method of preventing access to certain users in an application is called data hiding.
- Related Articles
- Object Oriented Programming in Python?
- What is object-oriented programming (OOP)?
- What is an Object Oriented Programming in JavaScript?
- Python Object-oriented and Functional Programming
- What is the difference between Object oriented programming and Object based programming?
- 8 Tips For Object-Oriented Programming in Python
- Object-oriented programming in Swift
- Object-Oriented Programming in R
- What does the repr() function do in Python Object Oriented Programming?
- What does the str() function do in Python Object Oriented Programming?
- What does the cmp() function do in Python Object Oriented Programming?
- What are basic Object oriented programming concepts?
- Object Oriented language v/s Procedure oriented programming language.
- Object-oriented Data Model
- Data Hiding in Python

Advertisements