Andrea,
I don't know the technical reason, but I seem to remember that Warren
advised users who wanted to use PyMOL functions from within a Python
script to simply use PyMOL as your Python interpreter.
In other words, write your Python program, then do
pymol -c myprog.py
(the -c flag causes
After any answer,
I have been looking on this list and googling around (sorry if I
didn't before...)
there is:
# set path in order to use pymol modules
export PYMOL_PATH=/usr/local/pymol/
export PYTHONPATH=/usr/local/pymol/modules/
then type python to enter in the shell and:
s...@darkstar:~> pytho