The if __name__ == "__main__": ... trick exists in Python so that our Python files can act as either reusable modules, or as standalone programs.