Python inside

I have come across a very nice open-source molecular modelling program
(pymol) that is written in Python. I’d like to be able to invoke and
control this within my SDL/OpenGL application. Is this a feasible

There is a Python API. My first thoughts are that I’d need to tell the
API about my SDL surface, then let pymol do the rendering, up until

Any thoughts from the gang?


Do you know about pygame?