Does python has private keyword in python ? How to make any variable private in python ?
Answer / Greesh Kumar Sharma
Python does not have a built-in 'private' keyword. However, a naming convention is followed where single underscores (_) before an attribute or method name indicates that it should be considered as internal implementation detail and should not be accessed directly by the users of the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is Java implementation of Python popularly know?
What is setuptools in python?
What is setup py in python?
Does python have a built in function for string natural sort?
Does python require coding?
How do I get a list of all files (and directories) in a given directory in Python?
Explain about negative indexing?
Explain polymorphism in Python.
What exactly is SVM?
What are the possible ways to load an array from a text data file in python? How can the efficiency of the code to load data file be improved?
Why do we need break and continue in python?
Explain the database connection in python flask?