Hey Thanks a tonne Alan
After your tip , I got fink IDLE to load pymol without any problem . I also got my home gentoo linux python 2.5 and idle to load pymol the same way.
Now I have full code completion to write up my pymol scripts if I idle correctly.
On an academic note, Just wondering why the Mac idle2.5 goofs up. I read something about idle running on a tkinter thread and pymol wanting to do the same thing. Anyways I guess the solution to the problem is to install fink on all macs in cases where I want to use IDLE for pymol script writing.
Hi,Instead of using Mac IDLE, use Fink IDLE:which idle2.5/sw/bin/idle2.5It works!Cheers,AlanOn Tue, Jun 10, 2008 at 1:25 AM, <firstname.lastname@example.org> wrote:--Date: Wed, 4 Jun 2008 11:24:16 -0400
From: "hari jayaram" <email@example.com>
Subject: [PyMOL] launch pymol from inside an IDLE ( python-ide)
interactive shell ?
Content-Type: text/plain; charset="iso-8859-1"
Hi I am trying to use python from inside of the idle (IDLE) IDE that is part
of the MacPython 2.5.2 additional packages as IDLE.app.
The reason I want to do this is because I really want to get an IDE (
integrated development environment ) with good code completion on all
modules including maybe pymol.
In any case when I do the following (see attached
1) Start IDLE and then in the IDLE shell I do
2) Import my fink python after adding it to my path
After that command I see that the idle Python shell waits for a little bit
and then I see =====restart==== .and no pymol window appears
Also when I try running pymol.finish_launching()
It says pymol is not defined.
I have tried reading some of the posts about how the import pymol method is
the least supported method for launching pymol. I should add that on my
setup i.e Leopard 10.5.2 with fink pymol-py25 the above approach works from
a standalone script as well as from a python interactive shell from
terminal.app or Item.app . Sadly both of these dont have popup code
But I was wondering if there is some way to have my cake and eat it too and
interact with pymol from within an IDLE shell window.
Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
PyMOL-users mailing list