The following forum message was posted by dhaber3 at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4041696:
Hi, My goal is to execute a script within the context of a method and then return the results as the result of the method. I'm not sure how that fits into the above, but Ideally it would be something like: [code]public String sayHello(String name) { String dirToRunIn = "c:/a/b/c"; String script = "c:/scripts/hello.py"; String result = PyExecutor.run(script, name, dirToRunIn); return result; } [/code] Thanks again! D ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users