How to add "create a new python file" to the registry
Posted
by
Anthony
on Super User
See other posts from Super User
or by Anthony
Published on 2013-11-04T23:12:14Z
Indexed on
2013/11/10
16:00 UTC
Read the original article
Hit count: 242
I have Python 3.2 on a windows 7 operating system. The other day I thought that it would be convenient to add a link to create a new .py
file in the right hand click "new" menu. I had worked with the registry before and looked up how to add an item to the "new" menu, but when I got to the registry under HKEY_CLASSES_ROOT
the .py
extension key was not there. I only know how to add something to the "new" menu using the extension key. I searched the web, but could not come up with any other ways. Python works perfectly fine, and I don't want to mess anything up by adding the extension key. So here are my questions:
Will I mess up python or something else by adding a .py
key?( I know it is dangerous to work with the registry, that is why I am looking for a safe solution)
If not how can I go about doing this?
OR
Is there a different way to add "create a new python file" to the "new" menu? If so how can I do it?
OR
If the only way is very complicated should I forget about it?
Thank you in advance.
P.S I originally posted on Stack Overflow that they told me to move it over here.
© Super User or respective owner