Skip to content

Instantly share code, notes, and snippets.

@dufferzafar
Created October 26, 2013 16:46
Show Gist options
  • Save dufferzafar/7171709 to your computer and use it in GitHub Desktop.
Save dufferzafar/7171709 to your computer and use it in GitHub Desktop.
Python File Association Windows
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.py]
@="Python.File"
"Content Type"="text/plain"
[HKEY_CLASSES_ROOT\Python.File]
@="Python File"
[HKEY_CLASSES_ROOT\Python.File\DefaultIcon]
@="C:\\Python33\\DLLs\\py.ico"
[HKEY_CLASSES_ROOT\Python.File\shell]
[HKEY_CLASSES_ROOT\Python.File\shell\open]
[HKEY_CLASSES_ROOT\Python.File\shell\open\command]
@="\"C:\\Windows\\py.exe\" -i \"%1\" %*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment