How-to articles, tricks, and solutions about NAMING-CONVENTIONS

What is the meaning of single and double underscore before an object name?

In Python, a single underscore "_" before an object name indicates that the object is meant to be private, meaning that it should not be directly accessed or modified outside of the class that it is defined in.

What is the naming convention in Python for variable and function?

In Python, variable and function names should be lowercase, with words separated by underscores.