While I've got your attention....

Is it possible to embed a pymol window into a bigger independent
application?

I am writing some code using PyQt and various other things (like PyOpenGL,
Open Inventor, pivy), and it would be nice to be able to be able to pop a
window with pymol in it (if that's the right way to put it). So the tk GUI
would not be there, just the PyMol graphics window.

I have no idea if this is possible, or if it's something that Warren is
even interested in supporting. From my brief look around at the source
tree, it looks like pymol ships with, and runs(?), its own version of
python.  Perhaps this is just packaged up by something like py2app?

When I do what seems most obvious, putting 

  from pymol import cmd

in a file and running python on it, it tells me there's no such module as
pymol. Maybe this is simply my python path not including the right thing.

If it matters, I'm on Mac OS X (10.3.9) but I'm running python 2.4, not the
stock distributed 2.3.  Would that stop me being able to import pymol as
above (I mean is it incompatible, not is the path to pymol unknown, which I
assume is probably the case)?

BTW, I have almost zero experience with any of these things, so I apologize
if I'm asking basic questions (I did at least search for the answer to my
first question in the list archives).

Terry

Reply via email to