Jython Pythonpath question

Kent Johnson kent at kentsjohnson.com
Tue Feb 21 17:41:51 EST 2006


Mark Fink wrote:
> Hi there,
> 
> I have a source file FailFixture.py in the folder
> D:\AUT_TEST\workspace\JyFIT\testutil. Now I want to import the file
> with "import testutil.FailFixture". Unfortunately I could not figure
> out how to set this up. I am convinced that
> "D:\AUT_TEST\workspace\JyFIT" should be included in the pythonpath but
> it does not work. Nor does it work to include this path in the java
> classpath. Any idea whats wrong?

Do you have a file D:\AUT_TEST\workspace\JyFIT\testutil\__init__.py ?

Kent



More information about the Python-list mailing list