Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ease-dev] EASE & Jython: using os module fails

Hi,

I am using EASE with the Jython engine. 

I can't seem to use some modules in my Jython script, most notably the os one (using timer one works). 

For instance, if I run this code (in a *.py file using Run>Run as EASE):

import os 
os.listdir("c:\\Results\\")

I get this error:
Traceback (most recent call last):
  File "(none)", line 2, in <module>
TypeError: 'javapackage' object is not callable

Any set up things I'm missing or should I file a bug?

Regards,
Tracy


Back to the top