Re: [PyMOL] cmd.scene('*')

2008-12-19 Thread Warren DeLano
t; To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] cmd.scene('*') > > In a Python script I am working on I would like to get a list of the > scenes that are defined. Unfortunately, cmd.scene('*') just prints the > list to stdout, but doesn't return a

[PyMOL] cmd.scene('*')

2008-12-19 Thread Malcolm E Davis
In a Python script I am working on I would like to get a list of the scenes that are defined. Unfortunately, cmd.scene('*') just prints the list to stdout, but doesn't return anything. That is, if I have a script test.py that looks like from pymol import cmd x = cmd.scene('*') print x An