jython problem importing a py file

Khalid Zuberi kzuberi at gmail.com
Tue Feb 7 10:58:26 EST 2006


 <didier.prophete> writes:

> 
> I tried everything I could think of (playing with the __init__.py, the
> PYTHONCLASS, the CLASSPATH), but nothing seems to work...
> 
> I am doing something wrong here ? 
> 
> -Didier
> 

Take a look at the jython registry setting python.path:

  http://www.jython.org/docs/registry.html

So if you invoke jython with say:

  jython -Dpython.path=$TOP

your import should work.

- kz




More information about the Python-list mailing list