Is it possible to use PyMOL from a Python script without lunching a GUI.=20
When I do :
"import cmd from pymol" in a Python program it automatically lunch=20
Pymol. The only solution I've found was to write a Python script and to=20
execute it from PyMOL with =93-c=94 option. (pymol -c my_script.py)
Thank you for your help.
Right now, "pymol -qc script.py" is the recommended way of running Python
scripts within PyMOL. "import pymol" will work with some versions on some
platforms, but not in general.
Warren L. DeLano, Ph.D.
DeLano Scientific LLC
400 Oyster Pt. Blvd., Ste 213
South San Francisco, CA 94080
> -----Original Message-----
> From: pymol-users-admin@...
> [mailto:pymol-users-admin@...] On Behalf Of VlaDar
> Sent: Friday, October 15, 2004 9:56 PM
> To: pymol-users@...
> Subject: [PyMOL] how to use pymol functionalities from a
> python script ?
> Is it possible to use PyMOL from a Python script without
> lunching a GUI.
> When I do :
> "import cmd from pymol" in a Python program it automatically
> lunch Pymol. The only solution I've found was to write a
> Python script and to execute it from PyMOL with "-c" option.
> (pymol -c my_script.py)
> Thank you for your help.
> This SF.net email is sponsored by: IT Product Guide on
> ITManagersJournal Use IT products in your business? Tell us
> what you think of them. Give us Your Opinions, Get Free
> ThinkGeek Gift Certificates! Click to find out more
> PyMOL-users mailing list