Jerome Quelin wrote: >def outer(): > def inner(): > print "spam" > inner() >outer() >outer() >In the snippet code above, I call outer() two times. I would like to >know how many times python will compile the inner function ? Every time you call outer(). - Gordon