launch_pymol#

biotite.interface.pymol.launch_pymol()#

Launch PyMOL in object-oriented library mode.

This is the recommended way to launch PyMOL if no GUI is required. This function simply creates a PymMOL object, calls its start() method and sets up necessary parameters using setup_parameters().

Returns:
pymolPyMOL

The started PyMOL instance. PyMOL commands can be invoked by using its cmd attribute.