PEP 328: Imports: Multi-Line and Absolute/Relative

Mike vimakefile at yahoo.com
Tue Mar 9 04:39:25 CET 2004


"Stephen Horne" <steve at ninereeds.fsnet.co.uk> wrote in message
news:ra4q401p3ld92uthl6l34u8vfqq39567n0 at 4ax.com...
> On 8 Mar 2004 15:24:56 -0500, aahz at pythoncraft.com (Aahz) wrote:
> >Here are the contenders:
> >      from .foo import
> >      from ...foo import
> I'd suggest taking a tip from VMS path syntax. A VMS relative pathname
>   [-----.dirname.dirname.dirname]filename
>   [-5.dirname.dirname.dirname]filename

I always liked the QNX path version:  "^^^file". (Same as ../../../file)
Easier to count than "."'s...





More information about the Python-list mailing list