[Tutor] How to use Python 2.6 with IDLE?

Dick Moores rdmoores at gmail.com
Mon Jul 27 23:03:26 CEST 2009


On Mon, Jul 27, 2009 at 12:50, ALAN GAULD<alan.gauld at btinternet.com> wrote:
>
>
>> > 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 in the
>> attached image. It opens Ulipad, but a Ulipad that uses 2.51, not 2.62
>
> So edit the Target field of the shortcut to say:
>
> E:\Python26\pythonw.exe E:\Programs\Ulipad37\ulipad.pyw

No, I'd already tried that. Doesn't work. Nothing happens.

> Or whatever combination of interpreter and editor you want.

That is the correct combination.

> In other words explicitly specify both the interpreter and the file rather than
> relying on Windows file associations.
>
> And if that fails to work, the lasst resort is to write a batch file that calls
> the right file with the rigt interpreter and then create a shortcut to that!

Any chance you could write that batch file for me?

Dick


More information about the Tutor mailing list