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/041174.html below:

[Python-Dev] Relative import

[Python-Dev] Relative import [Python-Dev] Relative importTim Peters tim.one at comcast.net
Thu Dec 18 00:38:57 EST 2003
[Guido]
> ...
> (Note that this leading-dot algorithm is nearly the same as the old
> MacOS pathname syntax, except they did it with colons: :foo was foo in
> the current directory, ::foo was foo in the parent directory, etc.,
> and foo:bar was an absolute pathname.  The only difference is that for
> backwards compatibility reasons they interpreted no colons as relative
> to the current directory rather than absolute.)

More relevant to most of the world <wink> is that it's even more similar to
the pathname syntax in the Win9x/ME command.com shells:

C:\Code\python\PCbuild>cd ...\Zope

C:\Code\Zope>

I expect that basing Python syntax on obsolete, hated OSes is a smart
contrarian move <wink>>


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