Message1012
I have a Python library that I call that is in the same directory as my application. It has a __init__.py that doesn't seem to be called:
$ dir WorkPoint
#wpWindows.py# __init__.pyc utils.pyc wpWindows.py
TAGS semantic.cache wpJava.py wpWindows.pyc
__init__.py utils.py wpJava.pyc
$ ./PerformWork.bat cmd
ECHO is off.
Jython 2.2a1 on java1.4.2_03 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>> import WorkPoint
>>> s =WorkPoint.Session()
Traceback (innermost last):
File "<console>", line 1, in ?
AttributeError: java package 'WorkPoint' has no attribute 'Session'
>>> dir(WorkPoint)
['__name__']
It looks like this in 2.1:
$ ./PerformWork.bat cmd
ECHO is off.
Jython 2.1 on java1.4.2_03 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>> import WorkPoint
>>> s = WorkPoint.Session()
>>> dir(WorkPoint)
['JAVA', 'Session', 'WPexception', '__doc__', '__file__', '__name__', '__path__'
, 'isJava', 'sys', 'wpJava', 'wpWrapper']
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:24 | admin | link | issue1246413 messages |
2008-02-20 17:17:24 | admin | create | |
|