Py3: Import relative path module

Steven D'Aprano steve-REMOVE-THIS at cybersource.com.au
Mon Nov 1 04:16:41 EDT 2010


On Mon, 01 Nov 2010 01:08:52 -0700, Gnarlodious wrote:

> On Oct 31, 11:09 am, Дамјан Георгиевски wrote:
>> from .. import Data.DumpHT as DumpHT
> 
> That doesn't work. Any more ideas?

Define "doesn't work". Does it?


Print a warning message but continue execution?
Import the wrong module?
Abort Python without warning?
Dump core?
Reboot the operating system without warning?
Lock up the computer?
Something else?



-- 
Steven



More information about the Python-list mailing list