Re: getattr from local scope
- From: Edward Elliott <nobody@xxxxxxxxx>
- Date: Sun, 23 Apr 2006 22:56:49 GMT
Alex Martelli wrote:
sys.modules[__name__].__dict__ may be more handily accessed by the
built-in function globals().
Well there you go. Glad it's not that awkward.
.
- References:
- getattr from local scope
- From: rob . haswell
- Re: getattr from local scope
- From: Edward Elliott
- Re: getattr from local scope
- From: Alex Martelli
- getattr from local scope
- Prev by Date: Re: Generate a sequence of random numbers that sum up to 1?
- Next by Date: Re: PYTHONPATH
- Previous by thread: Re: getattr from local scope
- Next by thread: Re: getattr from local scope
- Index(es):