When you can not find out "Edit with IDLE" from the right click context menu

When you face this kinds of problem in Windows, you could check below two things in registry.

1. HKEY_CLASSES_ROOT\Python.File

2. HKEY_CLASSES_ROOT\*\shell


First, HKEY_CLASSES_ROOT\Python.File

1> Open regedit

2> Go to 'HKEY_CLASSES_ROOT\Python.File\shell\Edit with IDLE\command', if it does not exist create it by click right mouse button.

3> Adjust the value of key; 
"[PYTHONPATH]\pythonw.exe" "[PYTHONPATH]\Lib\idlelib\idle.pyw" -e "%1"

4> And then go to 'HKEY_CLASSES_ROOT\Python.NoConFile\shell\Edit with IDLE\command'.

5> Adjust the value of key; 
"[PYTHONPATH]\pythonw.exe" "[PYTHONPATH]\Lib\idlelib\idle.pyw" -e "%1"


Second, HKEY_CLASSES_ROOT\*\shell

1> Open regedit

2> Go to 'HKEY_CLASSES_ROOT\*\shell' and create a key below with name of 'command'.

3> Adjust the value of key; 
"[PYTHONPATH]\pythonw.exe" "[PYTHONPATH]\Lib\idlelib\idle.pyw" -e "%1"


댓글

이 블로그의 인기 게시물

미국 포닥, 한국으로 돌아가는 이유? (Why do postdoc go back to Korea?)

미국 포닥 - 비지팅 포닥 VS 풀펀딩 포닥 (Visiting Scholar VS Postdoctoral Fellow)

미국 포닥 직위, 타이틀, 명칭? - Visiting Scholar, Postdoctoral Fellow, Research Associate, Research Scientist, Research Professor