[Chimera-users] Adding Menu items to Python Shell

Eric Pettersen pett at cgl.ucsf.edu
Tue Jan 16 13:03:19 PST 2018


Hi Vinod,
	Chimera just adds a thin layer over the Python IDLE shell that is a standard module of Python 2.  So, to add a menu to it you would modify the IDLE code found in Chimera.app/Contents/Resources/lib/python2.7/idlelib.  Keep in mind that new downloads of Chimera won’t have your changes, so you might want to note what changes you made so you could reapply them to newer versions you get.

—Eric

	Eric Pettersen
	UCSF Computer Graphics Lab


> On Jan 12, 2018, at 11:22 AM, Batra, Vinod (NIH/NIEHS) [C] <batra1 at niehs.nih.gov> wrote:
> 
> Hi 
> How to add menu items to IDLE-> Python Shell opened with Chimera 1:1x running on OS X.
>  
> Vinod Batra
> NIEHS
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu <mailto:Chimera-users at cgl.ucsf.edu>
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20180116/a1eb289e/attachment.html>


More information about the Chimera-users mailing list