[chimera-dev] [Chimera-users] Programming within Chimera
Eric Pettersen
pett at cgl.ucsf.edu
Tue Jul 10 10:49:00 PDT 2012
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 at cgl.ucsf.edu
>> http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users
>>
>
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20120710/0060cc92/attachment.html>
More information about the Chimera-dev
mailing list