I was trying to use pymol within Ipython notebook, but I can get all the
functionality of PyMOL and/or Ipython, let me explain.
I tried the following two options:
A) Like a normal script
1) I lauch PyMOL (inside the ipython notebook)
import pymol
from pymol import cmd, stored
Hi Osvaldo,
A3) PyMOL captures sys.stdout, but you can reclaim it:
import sys, pymol
stdout = sys.stdout
pymol.finish_launching()
sys.stdout = stdout
B4) cmd is your ServerProxy instance, so don't import anything from pymol
Cheers,
Thomas
On 24 Aug 2014, at 13:36, Osvaldo Martin
Hi Thomas!
Thanks for your answer. Your first suggestions works.
Regarding the comment on B4 I was importing cmd from pymol because
otherwise I get error
name 'cmd' is not defined
Cheers,
Osvaldo.
On Sun, Aug 24, 2014 at 8:01 PM, Thomas Holder
thomas.hol...@schrodinger.com wrote:
Hi