- Index
- »
- py
- »
- func:pyExec
def
func:pyExec
pyExec(py, code)
Execute the given python code in the session and return the python session. Note: python exec()
does not return a value, so use pyEval()
if you need the result of running a python statement. This method is primarily useful for declaring functions that you want available when using pyEval()
.