Python With Spyder 10: Objects Part 3 - Private Data and Encapsulation

preview_player
Показать описание
This is the 10th in a series of videos providing a tutorial on Python 2.7 using Anaconda Python and the Spyder IDE. This video is the third of four videos introducing objects in Python. This video discusses private data and encapsulation.

Рекомендации по теме
Комментарии
Автор

FYI you can use 555 in your phone number examples (e.g. XXX-555-XXXX) to lower the odds of using a real number to virtually 0%....And thanks for all these AWESOME tutorials. I recently learned java and wasn't sure why I was going through such a hassle declaring things as private, public, etc until you explained it perfectly in this python video! Thanks again :)

ififif
Автор

HI Professor... what if you wanted to use a private variable but wanted a subclass to override the super class, access the private variable and print a message. How would you accomplish that?

gloriaramlal
Автор

The link to the source code causes the following error:

The website encountered an unexpected error. Please try again later.
Error messagePDOException: SQLSTATE[28000] [1045] Access denied for user password: YES) in lock_may_be_available() (line 167 of

mikeskibyak