(An Unofficial) Python Tutorial Wiki

putting the community back in "maintained by the community"

3td8

I remember when I first read the tutorial nearly 10 years ago, the section about scopes and namespaces was the one that puzzled me most, partly because I didn't understand what these words meant in the first place.

I think, this section should start off with some examples that show the effect of scoping rules and then explain why things work as they do afterwards, rather than the theoretical gobbledigook (at least to a novice) it has now. The whole theoretical background could be marked as an excursion for the advanced reader, telling the novice programmer to come back to it later.