I had this script for automated solving of a little daily game thing. I used to be able to run it by typing cmd into the folder where the script was, and then running the script by entering scriptname.py into the command prompt.
But I tried to install Python for something else unrelated and now when I try to run my script, a Python window pops up for a split second and then disappears, and nothing happens in the command prompt. I tried to uninstall Python, but trying to run the script just installed Python again.
How can I fix this so I can just run the script the way it worked before?