On Sun, 17 Feb 2002, Nat wrote:

> From an earlier reply...
> > The easiest way to use PyMOL as a module is to use PyMOL as your Python
> > interpreter.  It isn't trivial to launch PyMOL from within a running
> > Python interpreter, but it can be done under unix (only).  See pymol.com
> > and modules/launch_pymol.py for an example of how to do it.
> 
> Got this working.  Now, I'm trying to create movie frames from the
> command line; I've got two systems I've tried this on, one SuSE
> 7.something (compiled manually), the other RedHat 7.2 (rpms).  I'm
> wondering whether this is even possible.  I've modified pymol.com to
> launch my script instead; what it does is this:
> 

You shouldn't (need to) modify any of the launch
scripts.  Just use the "-c" option to get
PyMOL running in command-line only mode.
(see "help launching for all the command-line options")

pymol.com -c script.py
pymol.com -c script.pml

Cheers,
Warrren



Reply via email to