__name__ == '__main__' calling module from different program code example Example: __name__ == '__main__' if __name__ == "__main__": main()