Quit: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
(return code)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===DESCRIPTION===
[[quit]] terminates the program.
    "quit" terminates the program.  
 
''Changed in PyMOL 1.6: Added return code''
===USAGE===
 
    quit
== Usage ==
 
===PYMOL API===
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 15:21, 2 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)