This is a read-only mirror of pymolwiki.org
PythonTerminal
Jump to navigation
Jump to search
This is a small script to allow the execution of python commands from the PyMOL command line. It is very useful for both debugging, and for discovering new functions.
from pymol import cmd
def parse(command):
exec command
cmd.extend('py', parse)