You can go to your control panel and set file associations.
py files may not be associated to a program. If installation fails first time, consider un-checking some of the "Advanced Options" during installation. I ran CCleaner specifically to remove / clean-up the registry, but also to clean up temp folders and just general maintenance. You can press F3 to find again each time. I deleted the ones that looked very specific to start-up procedures. I looked in keys, values and data but looking in just keys might be enough. (Optional, do with caution) In left pane of Registry Editor, right-click and select "Find".HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node.Looked in the following areas and deleted python keys entirely:.
#How to set default app to open files windows
Windows "start" orb (bottom-left) > type "run" > type "regedit" in Run dialog box.Deleted remaining C:\Python34 folder entirely.Uninstalled Python 3.4 using control panel (Windows).I'm posting this so mainly I'll remember how I did this! and it has a legit-looking Python icon (not an ugly. I finally got it to where I no-longer have to right-click and select IDLE. I just updated from Python 3.4 to Python 3.5 and it was a nightmare setting IDLE as my default program. If You are updating from a previous version of Python. Navigate to C:\.\PythonXX\Lib\idlelib\idle.bat and select that. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExtsĬ:\ProgramData\Microsoft\Windows\Start Menu\Programs\Python XX and choose IDLE.If the " always use the selected program to open this kind of file" checkbox is grayed out, ungray it by: