Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Recently I installed pywin32, and decided that I didn't need it. So I uninstalled the application and packages using control panel, then removed the remaining folder. However, when I right clicked a .py file the Edit with Pythonwin was still there. I tried restarting my computer, but with no avail. I have googled it but found no answer. Is there some way I coud remove this option from the right click menu, or do I just have to deal with it? I use windows 7. Thanks in advance.

share|improve this question

migrated from stackoverflow.com Apr 26 '13 at 9:21

This question came from our site for professional and enthusiast programmers.

3 Answers 3

You just need to delete the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.py

From PowerShell, you can use this

rd hklm:software/classes/.py
share|improve this answer
    
will that delete the "Edit with Idle" too? –  Anthony Apr 26 '13 at 1:53
    
Its the Gui that comes with python. I'll try what you recommendd, and if it delets The other button I'll just reinstall python. –  Anthony Apr 26 '13 at 1:55
    
Thank you. Your Idea didn't work, but it led me to find the solution. –  Anthony Apr 26 '13 at 2:13
    
@Anthony, if this helped you find the solution you should post what you did as a solution so that other people can be helped (just post your answer at the bottom) –  Mike H-R Oct 21 at 14:19

The more appropriate manner is to open with Regedit, head to the following path:

\HKEY_CLASSES_ROOT\Python.File\shell

There, you need to remove the folder "Edit with PythonWin".

You can find this via the Find function. You also may be able to remove the ability to run the Python file, or edit it with IDLE.

share|improve this answer

Try using ShellExView. You can remove or disable shell-extensions with it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.