Navigation
API > API/Plugins > API/Plugins/PythonScriptPlugin
Controls the execution mode used for the Python command.
| Name | EPythonCommandExecutionMode |
| Type | enum |
| Header File | /Engine/Plugins/Experimental/PythonScriptPlugin/Source/PythonScriptPlugin/Public/PythonScriptTypes.h |
| Include Path | #include "PythonScriptTypes.h" |
Syntax
enum EPythonCommandExecutionMode
{
ExecuteFile,
ExecuteStatement,
EvaluateStatement,
}
Values
| Name | Remarks |
|---|---|
| ExecuteFile | Execute the Python command as a file. |
| ExecuteStatement | Execute the Python command as a single statement. |
| EvaluateStatement | Evaluate the Python command as a single statement. |