Python + PyMOL Arbitrary Python code possible within python scripts PyMOL functionality available by importing PyMOL's modules cmd, cgo, stored etc. Call.