Python scope is too complicated

Max rabkin at mweb[DOT]co[DOT]za
Sun Mar 20 06:53:34 EST 2005


Yeah, I know. It's the price we pay for forsaking variable declarations. 
But for java programmers like me, Py's scoping is too complicated. 
Please explain what constitutes a block/namespace, and how to refer to 
variables outside of it.



More information about the Python-list mailing list