*ENDPY

*ENDPY
Terminates a block of content that is interpreted as Python commands.

Valid Products: Pro | Premium | Enterprise | PrepPost | Solver | AS add-on

Ends a content block that is initiated with *PYTHON and is interpreted as Python commands.

Notes

*ENDPY is a required terminator for a Python block initiated with the *PYTHON command. The *ENDPY command must appear on the same file as the *PYTHON command, and all six characters must be input.

When running a simulaton using distributed-memory parallel (DMP) processing, the Python code inside the *PYTHON block only executes on the head compute node.

See the command description for *PYTHON for further details and example usage.

This command is valid in any processor.

Menu Paths

This command cannot be accessed from a menu.