module helper.python_run

Short summary

module pyrsslocal.helper.python_run

contains functionalities to run a python script

source on GitHub

Functions

function

truncated documentation

run_python_script

Executes a script python as a string.

Documentation

contains functionalities to run a python script

source on GitHub

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)

source on GitHub