Mega Code Archive
Categories
/
Python Tutorial
/
Function
Create an inner function
def foo(): def bar(): print 'bar() called' print 'foo() called' bar() foo()