For whatever reason my python suddenly stops running properly.
Specifically, it wouldn’t accept any parameter passed to python files that I ran without prepending python.
A quick search on Google and I found out why and solved it like so (in case anybody runs into it too):
Open up Registry Editor by typing regedit in command console.
Go to HKEY_CLASSES_ROOT\py_auto_file\shell\open\command
You’ll see something like
Double click and just add %* at the end like so
“C:\Python27\python.exe” “%1” %*
and voila, it will accept parameters again!