code: def initialize_pymol(options):
      
      import pymol
      # Pass standard arguments of function to prevent PyMOL from printing out PDB headers (workaround)
      pymol.finish_launching(args=['pymol', options, '-K'])
      pymol.cmd.reinitialize()
docs: Initializes PyMOL