Blinkt! issues with already running scripts

I’ve had a small problem with my raspberry pi over the past couple days where whenever i run a script from a word file or i paste it, it doesn’t allow me to input any commands which means when i am doing something on my blinkt! hat it will not allow me to clear() it and won’t let me edit it. This means that it is left running until i shut my raspberry pi off and back on. I’ve tried opening another tab but that does nothing. Could someone please help with this.

What are you using to run/edit these Python scripts on your Pi?