module helper.python_run
¶
Short summary¶
module pyrsslocal.helper.python_run
contains functionalities to run a python script
Functions¶
function |
truncated documentation |
---|---|
Executes a script python as a string. |
Documentation¶
contains functionalities to run a python script
- pyrsslocal.helper.python_run.run_python_script(script, params=None)¶
Executes a script python as a string.
- param script:
python script
- param params:
params to add before the execution
compile and run a custom script
fpr = lambda v : self.outStream.write(str(v) + "
- “)
pars = {“print”: fpr, “another_variable”: 3 } run_python_script(script, pars)