Python Forum
python script file not opening in IDLE editor - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: python script file not opening in IDLE editor (/thread-19299.html)



python script file not opening in IDLE editor - srm - Jun-22-2019

Hi there,
I am working with python3.7.2 on windows 2008R2 server edition.I am able to work successfully in IDLE editor.But when I try to open my.py files which is c:\Data folder on Right click
shortcut menu,it does not show option "Edit with IDLE"...and files does not have any idle
icon on it...

How to open files directly in IDLE editor with R.click option of "OPEN WITH" in shortcut menu in windows???


RE: python script file not opening in IDLE editor - ThomasL - Jun-22-2019

Just google it


RE: python script file not opening in IDLE editor - Larz60+ - Jun-23-2019

Windows has what it calls file associations, which are controlled by the Windows OS, and not by python.
This is what you should use to automatically run an application based of a file suffix. As Thomas L suggests, this can be found with Google, but here's a link to get you started:
https://social.technet.microsoft.com/Forums/en-US/5a050eb0-0aeb-47fc-9c5e-1fe158c9a51e/windows-server-2008-r2-different-file-associations-when-doubleclicking-vs-rightclick-open?forum=winserverTS
http://dataerror.blogspot.com/2008/05/changing-file-type-association-in.html