Where is my namespace?

Simon Brunning simon at brunningonline.net
Mon Dec 7 17:45:12 EST 2009


2009/12/7 Steven D'Aprano <steve at remove-this-cybersource.com.au>:
> On Mon, 07 Dec 2009 16:25:39 +0000, Simon Brunning wrote:
>> If you do "from blah import" the imported module itself isn't bound to
>> any name in the importing module - you can't get at it at all.
>
> Not quite -- you can get to it if you're willing to do some more work.

"A little inaccuracy sometimes saves tons of explanation." - Saki, The
Square Egg, 1924

-- 
Cheers,
Simon B.



More information about the Python-list mailing list