2.2. *ENDPY Command Definition

*ENDPY

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

Notes

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.

This command is valid in any processor.

Menu Paths

This command cannot be accessed from a menu.