[Tutor] How to use Python 2.6 with IDLE?

Dick Moores rdmoores at gmail.com
Mon Jul 27 21:09:15 CEST 2009


On Mon, Jul 27, 2009 at 09:32, Alan Gauld<alan.gauld at btinternet.com> wrote:
>
> "Dick Moores" <rdmoores at gmail.com> wrote
>
>>> I suggest you have to change the association of *.pyw files to the
>>> program, which is used to 'open' it.
>>>
>> Yes! After I did that, now when I call
>> E:\Python26\Lib\idlelib\idle.pyw the IDLE that opens uses 2.62.
>>
>> But I also want to use Ulipad, actually my main Python editor. When I
>> call E:\Programs\Ulipad3.7\UliPad.pyw (by clicking on it in Explorer),
>> Ulipad no longer opens. Before I made the change you suggested, at
>> least Ulipad would open using 2.51. What can I do to use both IDLE and
>> Ulipad with 2.62?
>
> What I do for these things is create a shortcut which specifies the full
> path to the interpreter and to the pyw file. I also set the working foldeer
> to wherever is most appropriate - usually my project folder. That's fairly
> bulletproof in my experience!

Alan, here's what have now to call Ulipad: the shortcut shown at
<http://www.rcblue.com/Misc/Ulipad_Shortcut.png>. It opens Ulipad, but
a Ulipad that uses 2.51, not 2.62 in its shell, but does use 2.62 to
run scripts (Ulipad asked me which interpreter I wanted to use for
that). So it seems I've almost got Ulipad where I want it. Perhaps the
developer can help me get its shell to use 2.62 as well.

I made a shortcut for IDLE that opens an IDLE that uses
2.62 (it's image is at <http://www.rcblue.com/Misc/IDLE_Shortcut.png>).

Thanks,

Dick


More information about the Tutor mailing list