osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IDLE Default Working Directory


On 13/11/2018 00:45, Terry Reedy wrote:
> 
> On Windows, a simple alternate is a .bat file.? I belive the folloiwing
> should work.
> 
> cd c:/desired/startup/directory
> py -x.y -m idlelib
> 
> The default for x.y is latest 3.x or latest 2.x if no 3.x.

Correct me if I'm wrong, but won't that create an empty command prompt
window nobody wants to see? (which you can get rid of by calling
START /B on a win32 application like pythonw.exe. Is there a pyw.exe or
something?)