Table of Contents

python

“python” delimits a block of literal Python code embedded in a PyMOL command script.

Example

python 

for a in range(1,10): 
    b = 10 - a 
    print a, b 

python end 

Notes

Literal Python blocks avoid the annoying requirement of having to use explicit line continuation markers for multi-line Python commands embedded within Python scripts.

See Also

abort | embed | skip | commands