Meaning of Underscores ( _ & __ ) in Python Variable Names

Photo By Real Python

Single and Double underscores have special meaning in Python variable and method names. Some of the meaning is by convention and some of it is enforced by Python Interpreter. In this article I’ll only cover the meaning of single and double leading underscores in Python variable names.