python __name__ function code example Example: __name__ == '__main__' if __name__ == "__main__": main()