oh yeah i forgot about the decorators. Um say that you wanted to decorate a function with the outer() func you would just put @outer on top of it? And this is the same as passing another func into the outer func?
and also with the first example you say x is in the scope when is was created can you define x in the outer func and refer to it in the inner func? -- https://mail.python.org/mailman/listinfo/python-list