From: Frank C. <fc...@pu...> - 2002-10-28 15:39:52
|
I embed Jython into NetBeans to provide a scripting language for the TestMaker environment. Jython is instantiated and I use execfile to run a script. I need to pass in the path and file name of the script that is being run into the script. Currently I am using exec("scriptpath="+scriptpath) and then I use execfile() to run the script. Doing this gives the script the scriptpath variable. Is this the best way to go? What is the better solution? -Frank -- Frank Cohen, Founder, http://www.PushToTest.com, phone: 408 374 7426 PushToTest offers free open-source test software and global services solutions that test, monitor and automate Web Service systems for functionality, scalability and performance. |