Hi,

below is my test code,it works right
----->
import sys
sys.path.append("/usr/local/Yozosoft/Yozo_Office/Yozo_Office.jar")
import application
from application import Application,Workbooks

currentOS=Application.getOS()
if currentOS==0:
    print "OS is Windows"
if currentOS==1:
    print "OS is Linux"
if currentOS==2:
    print "OS is Mac"
if currentOS==0:
    print "OS is unkown"

wbs=Application.getWorkbooks()
<----

then when i try to run
      workbook=wbs.openWorkbook()
it turned out following message:
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
        TypeError: openWorkbook(): expected 1-3 args; got 0

when i fill the args as
      wbs.openWorkbook(filename,1)
it turned out following message:
      Traceback (most recent call last):
       File "<stdin>", line 1, in <module>
       at application.Workbooks.compareBookName(Unknown Source)
       at application.Workbooks.openWorkbook(Unknown Source)
       at application.Workbooks.openWorkbook(Unknown Source)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:616)

       java.lang.NullPointerException: java.lang.NullPointerException

i tried other methods of the object,if the methods not filled with args where were neccesary, it would prompt expect args, but when filled, it prompted unkown source.

So what the problem be, is it the problem of module import?