|
From: Ype K. <yk...@xs...> - 2001-06-14 18:29:37
|
Laurent, >When trying to use the os.popen in Jython, I receive this error message: >"AttributeError: class 'org.python.modules.os' has no attribute 'open'" > >It seems that the import os does not point to a equivalent python lib. > >Do you ever saw this behavior ? Java does not have pipes, so Jython cannot provide them. I think the closest thing you can do is create a process and use Java calls to give it input and to read it's output. I don't know whether Jython has some standard module that lets you do that. Good luck, Ype |