IDLE Default Working Directory
On 11/12/2018 7:15 PM, Thomas Jollans wrote:
> 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
Yes, thanks for the reminder. Unless the console is needed (as when
user code creates subprocesses that print) 'pyw' can be used instead of
When using CommandPrompt, 'pyw -m idlelib' detaches the process from the
console, which might or might not be a good thing.
Terry Jan Reedy