Hi,
First, the initial error you were seeing was a syntax error:
> from sys import argv
> my_argv =3D argv[argv.index("--"):]
> print my_argv[1], my_argv[2]
is failing because of the word "3D"
Second, that used to fail on Linux systems anyway (it worked on some
other systems). I tend to use opt
Hi all,
I'd like to execute pymol like: pymol -c script.py arg1 arg2 arg3 arg4.
(1) Reading into PyMolWiki
http://www.pymolwiki.org/index.php/Scripting, I've learned that I have
to type:
pymol -c script.py -- arg1 arg2 arg3 arg4
and then add to my script:
from sys import argv
my_argv =3D argv[a
Hi,
I have a script that uses PyMOL to aid with a lot of calculations. So,
I run the script like this:
pymol -c script.py
The script has grown so that it has a lot of options. Right now, I
edit the script every time I want to change them. If it were a normal
Python script, I'd run it like
scrip