Search code examples
python-2.7contextmenupython-idle

"Edit with IDLE" not in context menu


Recently I have installed Python 2.7.13 in my Windows 10. When I try to open my python program by right clicking on it, but I can not find option Edit with IDLE. I have tried solutions that are given in other stack overflow questions but still not working.

Answers that I have found on other Stack Overflow questions are....

Answer 1

Right Click on file and select default program for .py file **python.exe**

Answe 2

Change in Registry key

But they didn't worked for me.


Solution

  • I got the solution...

    At time of saving python code, there will be two extensions displayed .py and .pyw.I saved my file using .pyw extension i.e. instead of saving as my.py saved as my.pyw. After that again right click on file and there is an option for Edit with IDLE.