Files
2026-08-03 18:42:47 +08:00

17 lines
293 B
Python

# Importing the PyMOL module will create the window.
import pymol
# Call the function below before using any PyMOL modules.
# THIS DOES NOT WORK ON macOS
pymol.finish_launching()
# Now we can import cmd
from pymol import cmd
cmd.load("$PYMOL_PATH/test/dat/pept.pdb")
cmd.show("sticks")