I inadvertantly got .py files stuck to opening my editor instead of running.
The reset part is detailed in this article:
To change a file association:
Go Start -> Default Programs
Choose Associate a file type or protocol with a program
Select your .py extension and click Change program...
Choose the executable you want to run your .py files.