Skip to main content

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

Hi Tracy,

not sure about the external libs. 'os' sounds like it should be supported by jython, but as I am not using it actively, I have to take a closer look. Will put it on my schedule for friday and report back to you.

You may also file a bug, but as it is not related to eclipse code (jython is hosted on github), you will have to file it on the github project.

regards
Christian

Am 05.02.2016 um 13:37 schrieb Tracy Miranda:
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



_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ease-dev


Back to the top