Nov-02-2018, 02:33 PM
It's not something you generally worry about in Python. Underscores can be used, but they are just a hint to other programmers that it's something internal to the class. If there are real security concerns, as in when self.x is changed self.y must also be changed or things crash, look into properties.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures