How to import a package

John Thingstad john.thingstad at chello.no
Fri Dec 6 21:43:36 EST 2002


On Sat, 07 Dec 2002 14:59:48 +1300, sashan <sashang at nospam.ihug.co.nz> wrote:

You probably messed up the PYTHONPATH environment variable.
The package has to be in the path and has to be unique.

> sashan wrote:
>
>>
>>
>> I've tried adding the absolute path of the AppDir sys.path (i.e. sys.path.append(e:/code/AppDir) 
>> ) but it doesn't help
>
>
> woops ... meant to say:
> I've tried adding the absolute path of the AppDir sys.path (i.e. sys.path.append(e:/code/AppDir/SomePackage) 
> ) but it doesn't help
>
>>



-- 
John Thingstad



More information about the Python-list mailing list