A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-December/041176.html below:

[Python-Dev] Relative import

[Python-Dev] Relative import [Python-Dev] Relative importBarry Warsaw barry at python.org
Thu Dec 18 01:52:32 EST 2003
On Thu, 2003-12-18 at 13:04, Greg Ewing wrote:

> Maybe in Python 3.0 the current directory should appear as a
> package with some standard name. Then applications could use
> relative imports to import their own modules, and absolute
> ones to import standard modules, without fear of conflict.

In a previous thread, we already came up with __me__ as a magic name
referring to the current module.  Let's use __my__ as the prefix for
importing a relative module.

too-tired-to-wink-ly y'rs,
-Barry



More information about the Python-Dev mailing list

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