RE: [PyMOL] How to send pymol command to pymol by python interpreter

2004-01-22 Thread pymol
..@lists.sourceforge.net [mailto:pymol-users- > > ad...@lists.sourceforge.net] On Behalf Of Takefumi Sora > > Sent: Wednesday, January 21, 2004 10:57 PM > > To: pymol-users@lists.sourceforge.net > > Subject: RE: [PyMOL] How to send pymol command to pymol by python > > in

RE: [PyMOL] How to send pymol command to pymol by python interpreter

2004-01-22 Thread Warren L. DeLano
ad...@lists.sourceforge.net [mailto:pymol-users- > ad...@lists.sourceforge.net] On Behalf Of Takefumi Sora > Sent: Wednesday, January 21, 2004 10:57 PM > To: pymol-users@lists.sourceforge.net > Subject: RE: [PyMOL] How to send pymol command to pymol by python > interpreter >

RE: [PyMOL] How to send pymol command to pymol by python interpreter

2004-01-21 Thread Takefumi Sora
Hi. I appreciate your answer, Warren. Thank you. Please let me ask one more question. You said I need two lines first: import pymol pymol.finish_launching() As long as I use,I can't the role of "pymol.finish_launching()" if I don't call this, what troubles will happen ? Takefumi SORA

RE: [PyMOL] How to send pymol command to pymol by python interpreter

2004-01-21 Thread Warren L. DeLano
Takefumi, # If launching PyMOL from an external interpreter, then you need # these two lines first: import pymol pymol.finish_launching() # If using PyMOL directly, then start here... from pymol import cmd # A command like the following cmd.do("show cartoon") # is essentially equivalent to: