Difference between revisions of "Pml"

From PyMOLWiki
Jump to: navigation, search
(Created page with basic description)
 
(PyMOL Script)
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 12: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