Naming Python constants and functions
Functions should start with a _single_leading_underscore where they are only intended to be used within a given function/Class. Doing this,
from M import *
does not import objects whose name starts with an underscore.Constants should be in defined at module level and be in all caps, per PEP 8.
This post is licensed under CC BY 4.0 by the author.