Pml: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
(Created page with basic description)
 
Line 2: Line 2:
== PyMOL Script ==
== PyMOL Script ==


PyMOL scripts are plain text files containing commands, one per line, appearing as they would be entered at the PyMOL command prompt.
PyMOL scripts are plain text files containing PyMOL commands, one per line, appearing as they would be entered at the PyMOL command prompt.  The standard extension for a PyMOL script is `.pml`.





Revision as of 11:49, 25 March 2020

PyMOL Script

PyMOL scripts are plain text files containing PyMOL commands, one per line, appearing as they would be entered at the PyMOL command prompt. The standard extension for a PyMOL script is `.pml`.


Basic usage

Save your commands in a plain text file (using e.g. Notepad, TextEdit, or a text editor of your choice) with a `.pml` extension, e.g. `script.pml`.

Run the script by either "File > Run script..." in the GUI menu bar, or via the command

@/path/to/my/script.pml