[Tutor] How to use Python 2.6 with IDLE?
ALAN GAULD
alan.gauld at btinternet.com
Mon Jul 27 21:50:44 CEST 2009
> > 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
Or whatever combination of interpreter and editor you want.
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!
> at E:\Python26\pythonw.exe (is that what you mean by the
> interpreter?).
Yes that is the interpreter.
Alan G.
More information about the Tutor
mailing list