I seem to have edited some setting for windows command prompt in windows 7 and forgot.
[EDIT: it was just set as the default application for .py files in windows explorer. Dennis answered it below]
(sidenote: what is the correct way to refer to this prompt? should I call it wondows command prompt? cmd.exe? cmd? ms-dos? dos?)
whenever I enter the path to a python file, it opens that file in an editor (vim) instead of executing it. Where can you edit default actions for filetypes? Why can't I execute a .py file? why does it open an editor instead of executing the file?