pythonRunScript sExecute a sequence of statements as if they were read from a Python file. This is for multi-line code that might contain definitions, control structures, imports, etc. It is great for running Python code from a file.
The return value is a Python dictionary containing all the variables defined in the global scope.
|
|
|
|
|
The Global option may be used to pass a globals dictionary so that variables may be shared between scripts.
|
The object pythonRunScript is a method function with a single argument.
The source of this document is in Python/doc.m2:270:0.