Windows, IDLE, __doc_, other

Lie Ryan lie.1296 at gmail.com
Wed Dec 30 23:55:13 EST 2009


On 12/30/2009 6:21 AM, W. eWatson wrote:
> Lie Ryan wrote:
>> On 12/29/2009 5:10 AM, W. eWatson wrote:
>>> Lie Ryan wrote:
>>>> If you're on Windows, don't use the "Edit with IDLE" right-click
>>>> hotkey since that starts IDLE without subprocess. Use the shortcut
>>>> installed in your Start menu.
>>> When I go to Start and select IDLE, Saves or Opens want to go into
>>> C:/Python25. I have to motor over to my folder where I keep the source
>>> code. The code is in a folder about 4 levels below the top. That's a bit
>>> awkward.
> Is there a way to go directly to the folder I normally work in?

These are the various "workarounds", I've used or heard:

1. Open using "Edit in IDLE", close it; then open IDLE properly from 
Start Menu and open your file from the list of "Recent files"
2. Shift-RightClick on the folder, get to "Open Command Window Here". 
Use python interpreter from there to execute "python -m idlelib.idle 
myfile.py".
3. create a .bat or shortcut file in your working directory to start IDLE
4. [GENERIC WARNING: Editing registry may damage your system] [SPECIFIC 
WARNING: There must be a reason the IDLE devs put the -n flag on the 
context menu, I'm not fully aware of the complications, and I disclaim 
myself from any damage that may be caused] Open Registry Editor, browse 
to these:
HKEY_CLASSES_ROOT\Python.File\shell\Edit with IDLE\command
HKEY_CLASSES_ROOT\Python.NoConFile\shell\Edit with IDLE\command
and remove the -n flag from the commands



More information about the Python-list mailing list