Difference between revisions of "PythonTerminal"
|Line 3:||Line 3:|
py python commands
Revision as of 10:37, 31 May 2006
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.
py (python commands)
from pymol import cmd def parse(command): exec command cmd.extend('py', parse)