[Python-Dev] Draft: PEP for imports

Aahz aahz at pythoncraft.com
Wed Jan 21 20:14:51 EST 2004


On Tue, Jan 20, 2004, Batista, Facundo wrote:
>
> I don't use packages, but when I read the tutorial first time, I wondered
> why, if the packages appeared to solve a 'pack into a directory' problem,
> the names were joined with '.' instead of '/'. Later I found some other uses
> to the 'unix path' notation.
> 
> For example:
> 
> - Module inside a package:  import package/module
> 
> - Relative import:  import ../../otherpack/webmodules/somemodule

Haven't seen any support for this; in the absence of support, I'll have
to assume that it's a non-starter.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

A: No.
Q: Is top-posting okay?



More information about the Python-Dev mailing list