global links the given name to global variabile static variable can be defined as an attribute of the function def myfunc ()global max_size if not hasattr myfunc _counter )myfunc _counter it doesn ' exist yet so initialize it myfunc _counter + print { call format myfunc _counter )print max size is { format max_size )max_size myfunc ( call max size is member of the helmholtz association slide