A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008736.html below:

Allow all assignment expressions after 'import something as'

[Python-Dev] Re: Allow all assignment expressions after 'import something as' [Python-Dev] Re: Allow all assignment expressions after 'import something as'Ka-Ping Yee ping@lfw.org
Thu, 24 Aug 2000 19:38:02 -0400 (EDT)
On Thu, 24 Aug 2000, Thomas Wouters wrote:
> >     import foo.bar          "import the package named foo and its
> >                              submodule bar, then put *foo* into the
> >                              current namespace"
> 
> Wrong. What it does is: import the package named foo and its submodule bar,
> and make it so you can access foo.bar via the name 'foo.bar'. That this has
> to put 'foo' in the local namespace is a side issue

I understand now.  Sorry for my thickheadedness.  Yes, when i look
at it as "please give this to me as foo.bar", it makes much more sense.

Apologies, Guido.  That's two brain-farts in a day or so.  :(


-- ?!ng




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4