Video: If __name__=="__main__" in Python What does it do?

Learn why Python scripts use if __name__ == "__main__" to control module execution and avoid running code on import