What is the purpose of if __name__ == '__main__' in Python?

Technical