[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2017-01-01 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Thank you so much! This solved it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread Eryk Sun
Eryk Sun added the comment: openwithidle_for_frostyelsa.reg adds an open command for the current user that opens the target file in IDLE. This will take precedence over the per-machine open command that executes the file using the launcher. It also adds "Run" and "Run as administrator" comman

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Before re-installing Windows 10, I was able to open up all my .py files by double-clicking on them and it would open them up in the IDLE (where I could edit the code manually and what have you). I'm not sure why it's never been a feature: I was doing that for many mon

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread Eryk Sun
Eryk Sun added the comment: > I want this to be a regular installation of Python wherein I can > associate .py files with IDLE That isn't a regular installation. It's not even an optional configuration, and never has been. You'd have to set that up manually. Are you looking to [-r]un files in

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread Eryk Sun
Eryk Sun added the comment: > I did that, and now all the options are gone. Removing the broken HKLM entry shouldn't have removed all of the options. The "Edit with IDLE" menu should be there as long as Python.File is selected for the file association. It's defined for the current user on your

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Also, just to clarify, I want this to be a regular installation of Python wherein I can associate .py files with IDLE (i.e. when I double click on a .py file, it takes me straight to the code) *as well as* having the option to "Edit with IDLE" when right-clicking on a

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Also, just to clarify, I want this to be a regular installation of Python wherein I can associate .py files with IDLE (i.e. when I double click on a .py file, it takes me straight to the code) *as well as* having the option to "Edit with IDLE" when right-clicking on a

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: I did that, and now all the options are gone. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread Eryk Sun
Eryk Sun added the comment: To remove the broken "Edit with IDLE" entry, open an elevated (administrator) command prompt and run the following: reg delete "HKLM\SOFTWARE\Classes\Python.File\shell\Edit with IDLE" /f -- ___ Python tracker

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Following your instructions on key deletion, I have now 2 "Edit with IDLE" options now. The top one does *not* work. The second one, however, does work. But when I tried to associate the .py with idle (so it opens up in IDLE) it reverted back to the command-line run of

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Couple things to note: I was not able to delete a couple of the keys. Regardless I've made some progress which I will outline in the next comment. -- ___ Python tracker ___

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread Eryk Sun
Eryk Sun added the comment: Let's do a bit of house cleaning. Run the following commands in a command prompt: reg delete HKCU\SOFTWARE\Classes\.py /f reg delete HKCU\SOFTWARE\Classes\py_auto_file /f reg delete HKCU\SOFTWARE\Classes\Applications\python.exe /f reg delete HKCU\SOFT

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Couple things: I installed PyCharm after all other options where exhausted. I needed to do some work on multiple projects. And also, I deleted .py key and it still doesn't show up. I tried associating it with idle.pyw and that didn't work either: Windows said it can't

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread Steve Dower
Steve Dower added the comment: It looks like PyCharm has taken over your shortcut: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.py\UserChoice HashREG_SZ55jxudRhknE= ProgIdREG_SZPyCharm2016.3 If you delete the entire "FileExts\.py" key wi

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Thank you for your help. Attached is the py_config.txt that your .bat file gave me. -- Added file: http://bugs.python.org/file45991/py_config.txt ___ Python tracker ___

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread Eryk Sun
Changes by Eryk Sun : Added file: http://bugs.python.org/file45989/dump_py_config.bat ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread eryk sun
Changes by eryk sun : Removed file: http://bugs.python.org/file45988/dump_py_config.bat ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread eryk sun
eryk sun added the comment: There are many possible points of failure, so I'd like to get a clearer picture of your system configuration. Please download and run the attached batch file "dump_py_config.bat" and upload the "py_config.txt" file that it creates. -- Added file: http://bugs

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Yes, I have IDLE installed, and Launcher is installed as well. I can open up IDLE from the shortcut, however I am not able to access it within "Open With" or "Default Programs" or "Change" (within Properties). I _can_ open up the file only if I open up IDLE first then

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread Steve Dower
Steve Dower added the comment: But you definitely have idle installed, right? The commands earlier made an assumption about your installation that could be wrong, so that would explain it. I'm still not entirely clear whether you've done these steps yet: 1. Right-click a .py file and select O

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-21 Thread David
David added the comment: Also, I created a reg file with the commands in a txt file and when I merged it, it was able to show the "Edit with IDLE" but it would do nothing. IDLE isn't there. Very perplexing. -- ___ Python tracker

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-20 Thread David
David added the comment: So I tried changing it to py.exe, and it doesn't load the IDLE: instead, it opens up the run command for the program in command prompt. That's not what I want it to do. Also, there still is no Edit With IDLE option. And I tried doing the ProgID stuff, but none of it wo

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-20 Thread eryk sun
eryk sun added the comment: > There's no reason to for IDLE to be a system-level association if > the user has not chosen the association Ok, to clarify, SystemFileAssociations can be defined in either the system or user hive. It's fine if the IDLE menu is added this way when it's done just fo

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-20 Thread Steve Dower
Steve Dower added the comment: > Steve, you could move the "Edit with IDLE" menu out of the Python.File ProgId > to an entry defined in SystemFileAssociations. I could, but I don't want to. I'd rather figure out adding an "Open With" entry for IDLE. There's no reason to for IDLE to be a syste

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-20 Thread eryk sun
eryk sun added the comment: When you change the association for executing scripts (either via Default Programs or the Open with => Choose another app menu), do not "look for another app on this PC". Manually associating files with an executable such as py.exe creates a ProgId that's only meant

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-20 Thread Steve Dower
Steve Dower added the comment: C:\Windows\py.exe (probably. If you changed from the default options it may be elsewhere, but if you Open With on a .py file it should be there) -- ___ Python tracker ___

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread David
David added the comment: Thanks for the help Steve, however I cannot find the Python Launcher app anywhere on my computer. Even after repairing/reinstalling. Where might I find this file? What is it called exactly? Much appreciated. -- ___ Python tr

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread Steve Dower
Steve Dower added the comment: The Python launcher is the right app to select. Double-clicking .py files has always run them with the interpreter, but you will also get the right-click menu once they are associated with the launcher (this is what I meant by it being the single integration poin

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread David
David added the comment: I'm going to tackle the questions one-by-one: I would like these ".py" files to be IDLE files in the sense that they have the IDLE icon and they open up directly into an idle file with a shell in the background. For context: on my other Windows 10 machine, I've been a

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Here is another possible reason (and cure) for intentionally installed python to not work. Just posted to Python list. "Turns out that another instance of Python *was* installed, not as part of OEM software, but by a digital camera (Califone) that is being u

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread eryk sun
eryk sun added the comment: It looks like you've accidentally created and selected an auto-generated association between .py and python.exe. You should be able to restore the original file association to get the "Edit with IDLE" menu back. In Windows 10 the "open with" menu has an option to "c

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread Steve Dower
Steve Dower added the comment: I'm not familiar with any of the other proposed solutions - could you link to a few? One important factor is that you need to install the Python Launcher to get the context menus (this is the default in 3.5 and later). Associating directly to the Python installa

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: .py files are not 'IDLE based', even if edited with IDLE. They are Python files and should normally be registered to run with Python directly, and not via IDLE. The right click context menu *should* include "Edit with IDLE". I have re-marked this issue for

[issue29014] Python 3.5.2 installer doesn't register IDLE .py extensions on Windows 10

2016-12-19 Thread David Karimi
New submission from David Karimi: "Edit with IDLE" option is also not present in my installation when I right-click on a .py file. And when I try to choose the IDLE application, it just defaults to the command line version every time. I don't know why this happens. I was able to run it fine on