Re: [chimera-dev] [Chimera-users] Programming within Chimera

Though one nice thing in Idle is that you can look the attributes/methods of a class (those defined in the C++ layer at least) with the help() function, e.g. "help(chimera.Atom)". I am working on making the output of help() for the most commonly used classes available on the Chimera web site (so that you don't have to start Chimera to get it) and will probably have that done in a week or so. --Eric Eric Pettersen UCSF Computer Graphics Lab http://www.cgl.ucsf.edu On Jul 10, 2012, at 9:11 AM, Conrad Huang wrote:
Well, there is Idle :-) The menu item "Tools -> General Controls -> IDLE" will bring up an Idle window.
I usually use Idle for testing out snippets of code but prefer to edit scripts outside of Chimera. Keeping the "Open File" dialog up by checking the "Keep dialog up after Open" box (above the Close button) helps a lot. The file you last opened remains selected, so you can repeatedly edit your script and hit the Open button to reload it. All a matter of preference...
Conrad
On 7/10/12 7:18 AM, Mario Dejung wrote:
Hi all, is there an easy way to test and develop programs within Chimera? I always write python scripts and open these in Chimera… Would be much easier to have something like idle or similar to develop scripts and test them. Or is there a better way I did not found? > Looking forward to any suggestions. Kind regards Mario _______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

Thanks for all the suggestions, that helped a lot. I love IDLE :-) Kind regards Mario On Jul 10, 2012, at 7:49 PM, Eric Pettersen wrote:
Though one nice thing in Idle is that you can look the attributes/methods of a class (those defined in the C++ layer at least) with the help() function, e.g. "help(chimera.Atom)". I am working on making the output of help() for the most commonly used classes available on the Chimera web site (so that you don't have to start Chimera to get it) and will probably have that done in a week or so.
--Eric
Eric Pettersen UCSF Computer Graphics Lab http://www.cgl.ucsf.edu
On Jul 10, 2012, at 9:11 AM, Conrad Huang wrote:
Well, there is Idle :-) The menu item "Tools -> General Controls -> IDLE" will bring up an Idle window.
I usually use Idle for testing out snippets of code but prefer to edit scripts outside of Chimera. Keeping the "Open File" dialog up by checking the "Keep dialog up after Open" box (above the Close button) helps a lot. The file you last opened remains selected, so you can repeatedly edit your script and hit the Open button to reload it. All a matter of preference...
Conrad
On 7/10/12 7:18 AM, Mario Dejung wrote:
Hi all, is there an easy way to test and develop programs within Chimera? I always write python scripts and open these in Chimera… Would be much easier to have something like idle or similar to develop scripts and test them. Or is there a better way I did not found? > Looking forward to any suggestions. Kind regards Mario _______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
_______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
participants (2)
-
Eric Pettersen
-
Mario Dejung