+ 1
Difficulty understanding attribute underscores...
What does placing an underscore before an attribute indicate? I.e. _attributename = value
1 Réponse
+ 6
It's just a convention (meaning that Python interpreter will not pay any attention to it) indicating that the attribute is private and should not be accessed by the users of the class.