computerskrot.blogg.se

How to set default program to open a file
How to set default program to open a file







how to set default program to open a file

In Registry Editor, navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.py\UserChoice and make note of the Progid (Applications\idle.bat in my example).Start > run > regedit (to launch Registry Editor).This looks like crap so I did the next steps to associate a Python icon with. I've read that sometimes this doesn't work for some people.īut now, the icon of. py extension) and it will open using IDLE's idle.bat program. Click the idle.bat file and press OK.Īt this point, you should be able to click a python file (file with. py file extension and click "Change program" button in the top-right. 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 program to open a file 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.

how to set default program to open a file

  • 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:









    How to set default program to open a file