This is a read-only mirror of pymolwiki.org

Difference between revisions of "Quit"

From PyMOL Wiki
Jump to navigation Jump to search
m
 
m (1 revision)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
===DESCRIPTION===
+
[[quit]] terminates the program.
'''quit''' terminates the program.  
 
  
===USAGE===
+
''Changed in PyMOL 1.6: Added return code''
quit
 
  
===PYMOL API===
+
== Usage ==
 +
 
 +
quit [code]
 +
 
 +
== Arguments ==
 +
 
 +
* '''code''' = int: Return code {default: 0}
 +
 
 +
== Python API ==
 
<source lang="python">
 
<source lang="python">
cmd.quit()  
+
cmd.quit(code: int)
 
</source>
 
</source>
  
 
[[Category:Commands|Quit]]
 
[[Category:Commands|Quit]]
 +
[[Category:Input Output Module|Quit]]

Latest revision as of 04:05, 7 December 2020

quit terminates the program.

Changed in PyMOL 1.6: Added return code

Usage

quit [code]

Arguments

  • code = int: Return code {default: 0}

Python API

cmd.quit(code: int)