I have made a program in Python with PyGame and PyOpenGL to test out vertex and pixel (fragment) shaders. I would like to be able to right click on the shader file (just a text file with a custom extension) and choose Open With... and then open with my Python program. How could I go about doing this? I am willing to convert to an executable with Py2Exe if the need arises.
If anyone wants to see the code for their own interest, I will put it up.
Thanks in advance :)