python dynamic scoping question

Aahz aahz at pythoncraft.com
Sun Apr 20 21:23:21 EDT 2003


In article <79ad5955.0304201513.6ffd4f83 at posting.google.com>,
Julia Goolia <juliagoolia301 at hotmail.com> wrote:
>
>I have a question regarding scoping in python.  I wish to have some
>mechanism which puts variables at a function level scope into the
>global scope, dynamically.  I cannot alter my design.

Why not?  Is this a homework assignment?  Either way, please provide the
precise specification so we can find appropriate solutions.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?




More information about the Python-list mailing list