Relative imports and "import X as Y"

OKB (not okblacke) brenNOSPAMbarn at NObrenSPAMbarn.net
Sun Aug 31 08:40:35 CEST 2008


Terry Reedy wrote:

> 
>>          So, will relative imports in Python 3.0 allow things like
>>          "import 
>>     ..relative.importing.path as prettyname"?  If not, why not? 
> 
> Download the latest beta for your system and give it a try.

    	Thanks for the advice, but I'd really rather not deal with 
installing the entire thing alongside my existing version, possibly 
causing conflicts in who knows what ways.

-- 
--OKB (not okblacke)
Brendan Barnwell
"Do not follow where the path may lead.  Go, instead, where there is
no path, and leave a trail."
	--author unknown



More information about the Python-list mailing list