launch_no_tk.py (pymol-v1.8.6.0.tar.bz2) | : | launch_no_tk.py (pymol-v2.1.0.tar.bz2) | ||
---|---|---|---|---|
# Tell PyMOL we don't want its external Tcl/Tk GUI. | # Tell PyMOL we don't want its external Tcl/Tk GUI. | |||
import __main__ | ||||
__main__.pymol_argv = [ 'pymol', '-qx' ] | ||||
# Importing the PyMOL module will create the window. | ||||
import pymol | import pymol | |||
# Call the function below before using any PyMOL modules. | # Call the function below before using any PyMOL modules. | |||
pymol.finish_launching() | pymol.finish_launching([ 'pymol', '-qx' ]) | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 0 lines changed or added |