I'm not entirely sure what you were trying to do there, that's not how terminals work. You don't drag and drop, you need to tell it where the file is.
python3 splash.py your.png
That should be the command format you follow, make sure your picture is in the same folder as the python script and...