Many python programs will have a line of code:
if _name_ == "__main__":
The first confusing thing about that statement is how the 2 underscores can look like one. it's _ _ name _ _ and _ _ main _ _ (I added spaces between them to make it easier to see)
This statement is true if that is the python script where execution began. It will be false if the python script is being used as a module.