Changes between Version 11 and Version 12 of pyrunner
- Timestamp:
- 12/04/23 12:00:46 (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pyrunner
v11 v12 30 30 * Pass your targz directly into the PythonVenv constructor 31 31 * or if you dont have a targz, copy the code into E. 32 * E.call the code you want to run 32 * call the code you want to run eg from PythonVenvTest.java: 33 {{{ 34 PythonVenv env = new PythonVenv( 35 new File("src/test/resources/helloworld-1.0.0.tar.gz"), logger); 36 String res = env.call(Arrays.asList("-c","import helloworld; helloworld.helloworld()"), 40000); 37 }}} 33 38 * call E.remove to remove the venv 34 39