Hello! Im a quite newbie in the python world. I have some problem with packages, i installed the jpype package according to its intructions. To test ive written: > python >>> import jpype everything worked correctly but when i wrote a short script: " from jpype import *
jpype.startJVM('/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i386/client/libjvm.so','-ea') java.lang.System.out.println("hello world") shutdownJVM() " and tried to run it this's got: " Traceback (most recent call last): File "/home/kelemen/workspace/JPype/src/helloAgent.py", line 3, in ? jpype.startJVM('/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i386/client/libjvm.so','-ea') NameError: name 'jpype' is not defined " What would be the reason? thanks in advanced Viktor -- http://mail.python.org/mailman/listinfo/python-list